ipq806x: remove useless case within default case for upgrade
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 16 Mar 2020 15:34:07 +0000 (16:34 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 16 Mar 2020 15:53:47 +0000 (16:53 +0100)
The default case will catch anything left, there is no need to
explicitly add any device to it.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ipq806x/base-files/lib/upgrade/platform.sh

index b61047ff7000f37d5bf67e17564166b4714434b3..2be25f4a9c9d5a03f1a99d7a461a0a674eab4aea 100644 (file)
@@ -40,7 +40,6 @@ platform_do_upgrade() {
                MTD_CONFIG_ARGS="-s 0x200000"
                default_do_upgrade "$1"
                ;;
-       nec,wg2600hp |\
        *)
                default_do_upgrade "$1"
                ;;