Revert "Watchdog: Add Notlog setting function"
This reverts commit 5203602888ecd350bafc941b932ad3e01350be19.
The dbus interfaces and the implementation of this in phosphor-watchdog
was abandoned without being merged. We need to revert this in order
to get phosphor-host-ipmi SRCREV updates moving.
Change-Id: I26562c09b180b68baf9c04f6b4ac6ef57129a0ad
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/app/watchdog.cpp b/app/watchdog.cpp
index 22ad30d..cf26e56 100644
--- a/app/watchdog.cpp
+++ b/app/watchdog.cpp
@@ -249,7 +249,6 @@
// Mark as initialized so that future resets behave correctly
wd_service.setInitialized(true);
- wd_service.setNotlog(dontLog);
lastCallSuccessful = true;
return ipmi::responseSuccess();
diff --git a/app/watchdog_service.cpp b/app/watchdog_service.cpp
index 744ee79..22227cc 100644
--- a/app/watchdog_service.cpp
+++ b/app/watchdog_service.cpp
@@ -183,11 +183,6 @@
setProperty("Enabled", enabled);
}
-void WatchdogService::setNotlog(bool Notlog)
-{
- setProperty("Notlog", Notlog);
-}
-
void WatchdogService::setExpireAction(Action expireAction)
{
setProperty("ExpireAction", convertForMessage(expireAction));
diff --git a/app/watchdog_service.hpp b/app/watchdog_service.hpp
index b1f490a..7350824 100644
--- a/app/watchdog_service.hpp
+++ b/app/watchdog_service.hpp
@@ -67,12 +67,6 @@
*/
void setEnabled(bool enabled);
- /** @brief Sets the value of the Notlog property on the host watchdog
- *
- * @param[in] Notlog - The new Notlog value
- */
- void setNotlog(bool Notlog);
-
/** @brief Sets the value of the expireAction property on the host watchdog
*
* @param[in] expireAction - The new expireAction value