treewide: remove obsolete sysupgrade watchdog kill
[openwrt/staging/wigyori.git] / target / linux / adm5120 / base-files / lib / upgrade / platform.sh
index fab2b3d7950ff5ae2a1b514396b510af5ae8410f..b874a5e99238121ec74f58a3029e9caf063455be 100644 (file)
@@ -33,12 +33,3 @@ platform_do_upgrade() {
        PART_NAME="$sys_mtd_part"
        default_do_upgrade "$ARGV"
 }
-
-disable_watchdog() {
-       killall watchdog
-       ( ps | grep -v 'grep' | grep '/dev/watchdog' ) && {
-               echo 'Could not disable watchdog'
-               return 1
-       }
-}
-append sysupgrade_pre_upgrade disable_watchdog