summaryrefslogtreecommitdiffstats
path: root/sensorhandler.C
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2015-11-25 17:30:09 +1030
committerJoel Stanley <joel@jms.id.au>2015-11-25 17:30:09 +1030
commit0f5ce8e12bd550bd46d03f22dd62a6ed2f3ac121 (patch)
treea2166a28995dd26e121945f77709f18ad39e30dd /sensorhandler.C
parent43776835017ebd2d67a72771254c67f0cf6e106e (diff)
downloadphosphor-host-ipmid-0f5ce8e12bd550bd46d03f22dd62a6ed2f3ac121.tar.gz
phosphor-host-ipmid-0f5ce8e12bd550bd46d03f22dd62a6ed2f3ac121.zip
sensorhandler: remove unused variable
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'sensorhandler.C')
-rw-r--r--sensorhandler.C3
1 files changed, 0 insertions, 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);
OpenPOWER on IntegriCloud