[OpenWrt-Devel] [PATCH 2/3] ath79: remove empty default case in 10_fix_wifi_mac

Adrian Schmutzler freifunk at adrianschmutzler.de
Thu Sep 5 09:25:25 EDT 2019


This removes a useless empty default case.

Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 .../ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac    | 2 --
 1 file changed, 2 deletions(-)

diff --git a/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac b/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
index 2e2179aee3..52efd8baaa 100644
--- a/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
+++ b/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
@@ -42,6 +42,4 @@ case "$board" in
 		[ "$PHYNBR" -eq 0 ] && \
 			macaddr_add "$(mtd_get_mac_text mac 0x18)" 1 > /sys${DEVPATH}/macaddress
 		;;
-	*)
-		;;
 esac
-- 
2.20.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list