diff options
| author | Patrick Venture <venture@google.com> | 2018-10-15 12:38:26 -0700 |
|---|---|---|
| committer | Patrick Venture <venture@google.com> | 2018-10-15 12:38:26 -0700 |
| commit | d8a9a19e5a1c1a343cd6f10a58b0eee937bebeca (patch) | |
| tree | 60436b3721a7c7973f8d86813f07a2652b5a4871 /ipmi | |
| parent | 36b7d8ebbbbdf3a57884ed5d9474e1122b69b5c2 (diff) | |
| download | phosphor-pid-control-d8a9a19e5a1c1a343cd6f10a58b0eee937bebeca.tar.gz phosphor-pid-control-d8a9a19e5a1c1a343cd6f10a58b0eee937bebeca.zip | |
ipmi: drop is_method_error call
Drop is_method_error() call that is extraneous.
Change-Id: I2ae8b2adb9576321df0cf10310c4242fad0801aa
Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'ipmi')
| -rw-r--r-- | ipmi/manualcmds.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ipmi/manualcmds.cpp b/ipmi/manualcmds.cpp index 45610cb..031e1c4 100644 --- a/ipmi/manualcmds.cpp +++ b/ipmi/manualcmds.cpp @@ -88,10 +88,6 @@ static ipmi_ret_t GetFanCtrlProperty(uint8_t zoneId, bool* value, /* a method could error but the call not error. */ auto valueResponseMsg = propertyReadBus.call(pimMsg); - if (valueResponseMsg.is_method_error()) - { - return IPMI_CC_INVALID; - } valueResponseMsg.read(propMap); |

