summaryrefslogtreecommitdiffstats
path: root/sensorhandler.cpp
diff options
context:
space:
mode:
authorVernon Mauery <vernon.mauery@linux.intel.com>2018-10-08 12:05:16 -0700
committerVernon Mauery <vernon.mauery@linux.intel.com>2019-02-25 14:27:21 -0800
commit240b186cf7fa639de698104d6853b73c81f4ec39 (patch)
tree2f3be6be10ad15db01084c9d19a65251c497b57b /sensorhandler.cpp
parentebe8e90639e3ce11193c9c823662b1ad8280b6f2 (diff)
downloadphosphor-host-ipmid-240b186cf7fa639de698104d6853b73c81f4ec39.tar.gz
phosphor-host-ipmid-240b186cf7fa639de698104d6853b73c81f4ec39.zip
ipmid: Rewrite ipmid to use the new architecture
New architecture highlights: * The new registration detects handler type for argument unpacking. * Upon completion the response is automatically packed. * Handlers can make use of the new async/yield sdbusplus mechanism. * The queue exports a new dbus interface for method-based IPMI calls. * The legacy handler registration is still supported for now. * The legacy dbus interface is still supported for now. Change-Id: Iae8342d9771ccebd3a0834e35597c14be4cc39cf Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
Diffstat (limited to 'sensorhandler.cpp')
-rw-r--r--sensorhandler.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/sensorhandler.cpp b/sensorhandler.cpp
index 9d0364d..051c4fd 100644
--- a/sensorhandler.cpp
+++ b/sensorhandler.cpp
@@ -139,11 +139,6 @@ int set_sensor_dbus_state_s(uint8_t number, const char* method,
sd_bus_error error = SD_BUS_ERROR_NULL;
sd_bus_message* m = NULL;
- std::fprintf(ipmidbus,
- "Attempting to set a dbus Variant Sensor 0x%02x via %s with a "
- "value of %s\n",
- number, method, value);
-
r = find_openbmc_path(number, &a);
if (r < 0)
@@ -190,11 +185,6 @@ int set_sensor_dbus_state_y(uint8_t number, const char* method,
sd_bus_error error = SD_BUS_ERROR_NULL;
sd_bus_message* m = NULL;
- std::fprintf(ipmidbus,
- "Attempting to set a dbus Variant Sensor 0x%02x via %s with a "
- "value of 0x%02x\n",
- number, method, value);
-
r = find_openbmc_path(number, &a);
if (r < 0)
OpenPOWER on IntegriCloud