treewide: remove empty default cases
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 17 Sep 2020 10:46:19 +0000 (12:46 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 17 Sep 2020 10:46:19 +0000 (12:46 +0200)
There is no apparent reason to have an empty default case.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/apm821xx/base-files/etc/board.d/01_leds
target/linux/apm821xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
target/linux/apm821xx/base-files/lib/preinit/79_move_config
target/linux/apm821xx/base-files/lib/upgrade/platform.sh
target/linux/ipq40xx/base-files/etc/board.d/01_leds
target/linux/ipq40xx/base-files/lib/preinit/06_set_preinit_iface_ipq40xx.sh
target/linux/ipq806x/base-files/etc/board.d/01_leds
tools/missing-macros/Makefile
tools/missing-macros/src/m4/mfx_limits.m4

index 57598c0ca9363b7743690a81b781fad7f09800ed..8433490825538171b6c49b875195af0dabf1e689 100755 (executable)
@@ -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
index a78a1054f1886d041c0ab8ad57543ca06379332e..6c7748589cd4823900176e06c1ed0df65b84bc9a 100644 (file)
@@ -16,6 +16,4 @@ netgear,wndap620|\
 netgear,wndap660)
        macaddr_add $(mtd_get_mac_ascii u-boot-env baseMAC) $(($PHYNBR + 1)) > /sys${DEVPATH}/macaddress
        ;;
-*)
-       ;;
 esac
index 1796e9f5f4633d8230112980026714d4c8a941ad..7a301a9253cb383625380ea99ba7ce12683f4862 100644 (file)
@@ -12,8 +12,6 @@ move_config() {
                        [ -f "/boot/$BACKUP_FILE" ] && mv -f "/boot/$BACKUP_FILE" /
                fi
                ;;
-       *)
-               ;;
        esac
 }
 
index cc095b36a12f1775e9a41e1331e3b0de8267af5c..cdcab6c3f6b04f8f76e4f105d7c7f6743ed0c418 100644 (file)
@@ -43,8 +43,5 @@ platform_copy_config() {
        wd,mybooklive-duo)
                mbl_copy_config
                ;;
-
-       *)
-               ;;
        esac
 }
index 313722ffb01da66bb4a56dda7fcdef7fe1dcd4af..e8e67af3a9229f6724eacf53204b2cbececd870d 100755 (executable)
@@ -71,8 +71,6 @@ zyxel,wre6606)
        ucidef_set_led_wlan "wlan2g" "WLAN2G" "${boardname}:green:wlan2g" "phy0tpt"
        ucidef_set_led_wlan "wlan5g" "WLAN5G" "${boardname}:green:wlan5g" "phy1tpt"
        ;;
-*)
-       ;;
 esac
 
 board_config_flush
index 50c289df31d33de1a7ea4970cc927beb75d3bc72..f94116de6ebff803f93dd4e5628c5cf79a91de3e 100644 (file)
@@ -12,8 +12,6 @@ set_preinit_iface() {
        zyxel,nbg6617)
                ifname=eth0
                ;;
-       *)
-               ;;
        esac
 }
 
index ffefb9e01c9032313a0ebf82cdec1d83aad00d3a..620fc12f41a517a7e55a3ad83cf0581e3bd46bf6 100755 (executable)
@@ -53,8 +53,6 @@ tplink,vr2600v)
 zyxel,nbg6817)
        ucidef_set_led_netdev "wan" "WAN" "${boardname}:white:internet" "eth1"
        ;;
-*)
-       ;;
 esac
 
 board_config_flush
index 3d3ee4cbefaf8d33a68c121e3fc08ff9a824dce7..1e423621bdcef2a4424e24fbaece4609cbe89fae 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=missing-macros
-PKG_RELEASE:=10
+PKG_RELEASE:=11
 
 include $(INCLUDE_DIR)/host-build.mk
 
index d63a14bb96dd656586b86cb02fda40662b2af51d..b4e3ceba8fc4fec6ceda420f4f69b7b9f2dd6b50 100644 (file)
@@ -147,8 +147,6 @@ case $host_os in
 cygwin* | mingw* | pw32*)
      test "X$LIBS" != "X" && LIBS="$LIBS "
      LIBS="${LIBS}-lwinmm" ;;
-*)
-     ;;
 esac
 fi
 ])#