summaryrefslogtreecommitdiffstats
path: root/src/usr/ipmi
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/ipmi')
-rw-r--r--src/usr/ipmi/ipmisensor.C5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/usr/ipmi/ipmisensor.C b/src/usr/ipmi/ipmisensor.C
index 4ee5bdc5d..c81c3871d 100644
--- a/src/usr/ipmi/ipmisensor.C
+++ b/src/usr/ipmi/ipmisensor.C
@@ -48,8 +48,6 @@ namespace SENSOR
TARGETING::Target * i_target)
:iv_name(i_name) ,iv_target(i_target)
{
- assert(i_target != NULL);
-
// allocate a new message structure to use with our sensors
// this will be the payload for the IPMI send/sendrecv sensor message.
iv_msg = new setSensorReadingRequest;
@@ -485,12 +483,11 @@ namespace SENSOR
};
-
//
// setBootProgressPhase - update the boot progress sensor of the BMC
//
errlHndl_t FirmwareProgressSensor::setBootProgressPhase(
- firmwareProgressPhase phase )
+ INITSERVICE::firmwareProgressPhase phase )
{
// event data 2 holds the progress info
iv_msg->iv_event_data[1] = phase;
OpenPOWER on IntegriCloud