[PATCH phosphor-host-ipmid 4/7] sensorhandler: remove unused variable
OpenBMC Patches
openbmc-patches at stwcx.xyz
Wed Nov 25 18:10:21 AEDT 2015
From: Joel Stanley <joel at jms.id.au>
Signed-off-by: Joel Stanley <joel at jms.id.au>
---
sensorhandler.C | 3 ---
1 file changed, 3 deletions(-)
diff --git a/sensorhandler.C b/sensorhandler.C
index cd57dd4..dd83152 100644
--- a/sensorhandler.C
+++ b/sensorhandler.C
@@ -145,9 +145,6 @@ ipmi_ret_t ipmi_sen_set_sensor(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
{
sensor_data_t *reqptr = (sensor_data_t*)request;
ipmi_ret_t rc = IPMI_CC_OK;
- unsigned short rlen;
-
- rlen = (unsigned short) *data_len;
printf("IPMI SET_SENSOR [0x%02x]\n",reqptr->sennum);
--
2.6.3
More information about the openbmc
mailing list