summaryrefslogtreecommitdiffstats
path: root/ipmisensor.cpp
diff options
context:
space:
mode:
authorTom <tomjoseph@in.ibm.com>2016-09-20 18:24:13 +0530
committerPatrick Williams <patrick@stwcx.xyz>2016-09-23 13:03:41 +0000
commitd700e76abb015ff7f7cd3df2769e1f91b452020a (patch)
tree9858482c654021f9004559f9cd285ad92593f140 /ipmisensor.cpp
parent8b4700521afc5760474fc82ebeb861c2c84118da (diff)
downloadphosphor-host-ipmid-d700e76abb015ff7f7cd3df2769e1f91b452020a.zip
phosphor-host-ipmid-d700e76abb015ff7f7cd3df2769e1f91b452020a.tar.gz
Refactor the code related to Sensor handling
The sensor related code is moved to sensorhandler.c. These changes were part of the ipmi daemon code and would have to replicated in RMCP daemon. The refactoring would get away with those changes. Change-Id: Ib9e1a1929282221e6f259e4a54502eea82f42939 Signed-off-by: Tom <tomjoseph@in.ibm.com>
Diffstat (limited to 'ipmisensor.cpp')
-rw-r--r--ipmisensor.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/ipmisensor.cpp b/ipmisensor.cpp
index 3e67b41..aaa6cb6 100644
--- a/ipmisensor.cpp
+++ b/ipmisensor.cpp
@@ -2,7 +2,6 @@
#include <string.h>
#include <stdint.h>
#include <malloc.h>
-#include <ipmid.hpp>
#include "sensorhandler.h"
extern uint8_t find_sensor(uint8_t);
@@ -36,8 +35,6 @@ struct lookup_t {
};
extern int updateDbusInterface(uint8_t , const char *, const char *);
-extern int find_openbmc_path(const char *, const uint8_t , dbus_interface_t *) ;
-
int set_sensor_dbus_state_simple(const sensorRES_t *pRec, const lookup_t *pTable, const char *value) {
OpenPOWER on IntegriCloud