diff options
author | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | 2017-09-20 06:55:00 -0500 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-09-25 16:02:44 +0000 |
commit | 1bf3b749e9217f03fbc55bbb45802df9e715e3b0 (patch) | |
tree | 2aa206bdd8c7718d98f814780fd7eb682844caed | |
parent | f0c48785cd0a87320168c34f1e970a2ef6066d2d (diff) | |
download | phosphor-host-ipmid-1bf3b749e9217f03fbc55bbb45802df9e715e3b0.tar.gz phosphor-host-ipmid-1bf3b749e9217f03fbc55bbb45802df9e715e3b0.zip |
Remove legacy reading of PS derating
Resolves openbmc/openbmc#2154
Change-Id: Ia5e150951fd077eddb4ee5a11d361eceee404e44
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
-rw-r--r-- | sensorhandler.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sensorhandler.cpp b/sensorhandler.cpp index 4394d7b..de46ed0 100644 --- a/sensorhandler.cpp +++ b/sensorhandler.cpp @@ -512,7 +512,6 @@ ipmi_ret_t ipmi_sen_get_sensor_reading(ipmi_netfn_t netfn, ipmi_cmd_t cmd, switch(type) { case 0xC2: - case 0xC8: r = sd_bus_get_property(bus,a.bus, a.path, a.interface, "value", NULL, &reply, "i"); if (r < 0) { fprintf(stderr, "Failed to call sd_bus_get_property:%d, %s\n", r, strerror(-r)); |