diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2023-05-13 22:12:26 +1000 |
---|---|---|
committer | Reza Arbab <arbab@linux.ibm.com> | 2023-06-06 13:32:12 -0500 |
commit | d40064f479e6a94c2ff7714046d40818b4d993f0 (patch) | |
tree | 653b1efdea5706361800f620da06eb50512329cb /core | |
parent | d2689980a3207508a8737c286ff0ab404bd482bc (diff) | |
download | skiboot-d40064f479e6a94c2ff7714046d40818b4d993f0.zip skiboot-d40064f479e6a94c2ff7714046d40818b4d993f0.tar.gz skiboot-d40064f479e6a94c2ff7714046d40818b4d993f0.tar.bz2 |
ipmi: remove unused OS watchdog support
This code hasn't been enabled, remove it.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/ipmi.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/core/ipmi.c b/core/ipmi.c index 673aa0c..2b1bb1c 100644 --- a/core/ipmi.c +++ b/core/ipmi.c @@ -220,17 +220,6 @@ static void ipmi_get_message_flags_complete(struct ipmi_msg *msg) prlog(PR_DEBUG, "IPMI Get Message Flags: %02x\n", flags); - /* Once we see an interrupt we assume the payload has - * booted. We disable the wdt and let the OS setup its own - * wdt. - * - * This is also where we consider the OS to be booted, so we set - * the boot count sensor */ - if (flags & IPMI_MESSAGE_FLAGS_WATCHDOG_PRE_TIMEOUT) { - ipmi_wdt_stop(); - ipmi_set_boot_count(); - } - /* Message available in the event buffer? Queue a Read Event command * to retrieve it. The flag is cleared by performing a read */ if (flags & IPMI_MESSAGE_FLAGS_EVENT_BUFFER) { |