From 4c89f8ad0c7b61ee2889bfad28bf6f2dfaef235c Mon Sep 17 00:00:00 2001 From: sujkang Date: Thu, 19 Nov 2020 22:11:22 -0800 Subject: [PATCH] lgtm --- src/sonic-host-services/scripts/determine-reboot-cause | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/sonic-host-services/scripts/determine-reboot-cause b/src/sonic-host-services/scripts/determine-reboot-cause index 1e6629a68f9e..dcce6182e399 100755 --- a/src/sonic-host-services/scripts/determine-reboot-cause +++ b/src/sonic-host-services/scripts/determine-reboot-cause @@ -177,9 +177,6 @@ def main(): hardware_reboot_cause = None additional_reboot_info = None - # Set a default previous reboot cause - previous_reboot_cause = REBOOT_CAUSE_UNKNOWN - # 1. Check if the previous reboot was warm/fast reboot by testing whether there is "fast|fastfast|warm" in /proc/cmdline proc_cmdline_reboot_cause = find_proc_cmdline_reboot_cause()