Disable OCC error monitoring
This is a quick hack until openbmc/openbmc#2285 is resolved
Change-Id: I2cb5f61a258bdfe014df63a0b44e444e13d366a9
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
diff --git a/occ_status.cpp b/occ_status.cpp
index 6788c54..14097ab 100644
--- a/occ_status.cpp
+++ b/occ_status.cpp
@@ -18,20 +18,21 @@
device.bind();
// Call into Manager to let know that we have bound
- if (this->callBack)
+ // TODO: openbmc/openbmc#2285
+ /* if (this->callBack)
{
this->callBack(value);
- }
+ }*/
}
else
{
// Call into Manager to let know that we will unbind.
// Need to do this before doing un-bind since it will
// result in slave error if Master is un-bound
- if (this->callBack)
+ /*if (this->callBack)
{
this->callBack(value);
- }
+ }*/
// Do the unbind.
device.unBind();