diff options
author | arjan <arjan@arjan-desktop.localdomain> | 2010-09-05 19:19:56 -0700 |
---|---|---|
committer | arjan <arjan@arjan-desktop.localdomain> | 2010-09-05 19:19:56 -0700 |
commit | a42357a1d43f193e30517f7494a3cbb3cdaf8678 (patch) | |
tree | de78c4d36faa4b36c6bd6602a16efb09f364e3ef /devices/ahci.cpp | |
parent | 602bd0a5c0ab273dd8a9818aa839125bd79828c1 (diff) | |
download | powertop-a42357a1d43f193e30517f7494a3cbb3cdaf8678.tar.gz |
don't have duplicate device registration arrays
Diffstat (limited to 'devices/ahci.cpp')
-rw-r--r-- | devices/ahci.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/devices/ahci.cpp b/devices/ahci.cpp index ff88f2c..7bb251e 100644 --- a/devices/ahci.cpp +++ b/devices/ahci.cpp @@ -27,8 +27,6 @@ ahci::ahci(char *_name, char *path) strncpy(sysfs_path, path, sizeof(sysfs_path)); sprintf(devname, "ahci:%s", _name); strncpy(name, devname, sizeof(name)); - register_result_device(name, this); - } void ahci::start_measurement(void) |