treewide: remove empty default cases
There is no apparent reason to have an empty default case. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
a744c14dfa
commit
0b1cdb7eea
@ -44,8 +44,6 @@ netgear,wndr4700)
|
|||||||
ucidef_set_led_netdev "wan_yellow" "WAN (yellow)" "wndr4700:yellow:wan" "eth0.2" "tx rx"
|
ucidef_set_led_netdev "wan_yellow" "WAN (yellow)" "wndr4700:yellow:wan" "eth0.2" "tx rx"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
board_config_flush
|
board_config_flush
|
||||||
|
@ -16,6 +16,4 @@ netgear,wndap620|\
|
|||||||
netgear,wndap660)
|
netgear,wndap660)
|
||||||
macaddr_add $(mtd_get_mac_ascii u-boot-env baseMAC) $(($PHYNBR + 1)) > /sys${DEVPATH}/macaddress
|
macaddr_add $(mtd_get_mac_ascii u-boot-env baseMAC) $(($PHYNBR + 1)) > /sys${DEVPATH}/macaddress
|
||||||
;;
|
;;
|
||||||
*)
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
@ -12,8 +12,6 @@ move_config() {
|
|||||||
[ -f "/boot/$BACKUP_FILE" ] && mv -f "/boot/$BACKUP_FILE" /
|
[ -f "/boot/$BACKUP_FILE" ] && mv -f "/boot/$BACKUP_FILE" /
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,8 +43,5 @@ platform_copy_config() {
|
|||||||
wd,mybooklive-duo)
|
wd,mybooklive-duo)
|
||||||
mbl_copy_config
|
mbl_copy_config
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
@ -71,8 +71,6 @@ zyxel,wre6606)
|
|||||||
ucidef_set_led_wlan "wlan2g" "WLAN2G" "${boardname}:green:wlan2g" "phy0tpt"
|
ucidef_set_led_wlan "wlan2g" "WLAN2G" "${boardname}:green:wlan2g" "phy0tpt"
|
||||||
ucidef_set_led_wlan "wlan5g" "WLAN5G" "${boardname}:green:wlan5g" "phy1tpt"
|
ucidef_set_led_wlan "wlan5g" "WLAN5G" "${boardname}:green:wlan5g" "phy1tpt"
|
||||||
;;
|
;;
|
||||||
*)
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
board_config_flush
|
board_config_flush
|
||||||
|
@ -12,8 +12,6 @@ set_preinit_iface() {
|
|||||||
zyxel,nbg6617)
|
zyxel,nbg6617)
|
||||||
ifname=eth0
|
ifname=eth0
|
||||||
;;
|
;;
|
||||||
*)
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,8 +53,6 @@ tplink,vr2600v)
|
|||||||
zyxel,nbg6817)
|
zyxel,nbg6817)
|
||||||
ucidef_set_led_netdev "wan" "WAN" "${boardname}:white:internet" "eth1"
|
ucidef_set_led_netdev "wan" "WAN" "${boardname}:white:internet" "eth1"
|
||||||
;;
|
;;
|
||||||
*)
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
board_config_flush
|
board_config_flush
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=missing-macros
|
PKG_NAME:=missing-macros
|
||||||
PKG_RELEASE:=10
|
PKG_RELEASE:=11
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/host-build.mk
|
include $(INCLUDE_DIR)/host-build.mk
|
||||||
|
|
||||||
|
@ -147,8 +147,6 @@ case $host_os in
|
|||||||
cygwin* | mingw* | pw32*)
|
cygwin* | mingw* | pw32*)
|
||||||
test "X$LIBS" != "X" && LIBS="$LIBS "
|
test "X$LIBS" != "X" && LIBS="$LIBS "
|
||||||
LIBS="${LIBS}-lwinmm" ;;
|
LIBS="${LIBS}-lwinmm" ;;
|
||||||
*)
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
])#
|
])#
|
||||||
|
Loading…
Reference in New Issue
Block a user