aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/apm821xx
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-09-17 12:46:19 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-09-17 12:46:19 +0200
commit0b1cdb7eea1a2d53da2e97eaaa4ac27b518f8171 (patch)
treec558077349e034711cea28ce26426f84d504f1e0 /target/linux/apm821xx
parenta744c14dfa087bb00a5871a59b00028c94c4e00b (diff)
downloadupstream-0b1cdb7eea1a2d53da2e97eaaa4ac27b518f8171.tar.gz
upstream-0b1cdb7eea1a2d53da2e97eaaa4ac27b518f8171.tar.bz2
upstream-0b1cdb7eea1a2d53da2e97eaaa4ac27b518f8171.zip
treewide: remove empty default cases
There is no apparent reason to have an empty default case. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/apm821xx')
-rwxr-xr-xtarget/linux/apm821xx/base-files/etc/board.d/01_leds2
-rw-r--r--target/linux/apm821xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac2
-rw-r--r--target/linux/apm821xx/base-files/lib/preinit/79_move_config2
-rw-r--r--target/linux/apm821xx/base-files/lib/upgrade/platform.sh3
4 files changed, 0 insertions, 9 deletions
diff --git a/target/linux/apm821xx/base-files/etc/board.d/01_leds b/target/linux/apm821xx/base-files/etc/board.d/01_leds
index 57598c0ca9..8433490825 100755
--- a/target/linux/apm821xx/base-files/etc/board.d/01_leds
+++ b/target/linux/apm821xx/base-files/etc/board.d/01_leds
@@ -44,8 +44,6 @@ netgear,wndr4700)
ucidef_set_led_netdev "wan_yellow" "WAN (yellow)" "wndr4700:yellow:wan" "eth0.2" "tx rx"
;;
-*)
- ;;
esac
board_config_flush
diff --git a/target/linux/apm821xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac b/target/linux/apm821xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
index a78a1054f1..6c7748589c 100644
--- a/target/linux/apm821xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
+++ b/target/linux/apm821xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
@@ -16,6 +16,4 @@ netgear,wndap620|\
netgear,wndap660)
macaddr_add $(mtd_get_mac_ascii u-boot-env baseMAC) $(($PHYNBR + 1)) > /sys${DEVPATH}/macaddress
;;
-*)
- ;;
esac
diff --git a/target/linux/apm821xx/base-files/lib/preinit/79_move_config b/target/linux/apm821xx/base-files/lib/preinit/79_move_config
index 1796e9f5f4..7a301a9253 100644
--- a/target/linux/apm821xx/base-files/lib/preinit/79_move_config
+++ b/target/linux/apm821xx/base-files/lib/preinit/79_move_config
@@ -12,8 +12,6 @@ move_config() {
[ -f "/boot/$BACKUP_FILE" ] && mv -f "/boot/$BACKUP_FILE" /
fi
;;
- *)
- ;;
esac
}
diff --git a/target/linux/apm821xx/base-files/lib/upgrade/platform.sh b/target/linux/apm821xx/base-files/lib/upgrade/platform.sh
index cc095b36a1..cdcab6c3f6 100644
--- a/target/linux/apm821xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/apm821xx/base-files/lib/upgrade/platform.sh
@@ -43,8 +43,5 @@ platform_copy_config() {
wd,mybooklive-duo)
mbl_copy_config
;;
-
- *)
- ;;
esac
}