treewide: remove obsolete sysupgrade watchdog kill
[openwrt/openwrt.git] / target / linux / mvebu / base-files / lib / upgrade / platform.sh
index 8241d1edcf913f3997bae63cefac6c03d18a44c1..fdc94d3e8e48094e83ff17b42fd6017091f0f0be 100755 (executable)
@@ -34,13 +34,3 @@ platform_copy_config() {
                ;;
        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