treewide: remove obsolete sysupgrade watchdog kill
[openwrt/staging/wigyori.git] / target / linux / ar71xx / base-files / lib / upgrade / platform.sh
index 8f56d1a8f60abbfd719e6bcf40416a4d98542e1b..2e7d298ec2b82a00d370dba11da3c57a824411cd 100755 (executable)
@@ -849,13 +849,3 @@ platform_do_upgrade() {
                ;;
        esac
 }
-
-disable_watchdog() {
-       killall watchdog
-       ( ps | grep -v 'grep' | grep '/dev/watchdog' ) && {
-               echo 'Could not disable watchdog'
-               return 1
-       }
-}
-
-append sysupgrade_pre_upgrade disable_watchdog