Skip to content

Commit

Permalink
lgtm
Browse files Browse the repository at this point in the history
  • Loading branch information
sujinmkang committed Nov 20, 2020
1 parent 3093d0f commit 4c89f8a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/sonic-host-services/scripts/determine-reboot-cause
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 4c89f8a

Please sign in to comment.