treewide: remove obsolete sysupgrade watchdog kill
[openwrt/openwrt.git] / target / linux / ixp4xx / base-files / lib / upgrade / platform.sh
index e1e43cf19ab3d0310b2b039776f179599b05b83d..92eeaffef635c6cb26d5e8e9929ec159ac9085ee 100644 (file)
@@ -135,15 +135,3 @@ platform_do_upgrade() {
                ;;
        esac
 }
-
-disable_watchdog() {
-       v "killing watchdog"
-       killall watchdog
-       ( ps | grep -v 'grep' | grep '/dev/watchdog' ) && {
-               echo 'Could not disable watchdog'
-               return 1
-       }
-}
-
-# CONFIG_WATCHDOG_NOWAYOUT=y - can't kill watchdog unless kernel cmdline has a mpcore_wdt.nowayout=0
-#append sysupgrade_pre_upgrade disable_watchdog