[source] hostapd: remove unused variable declarations in hostapd.sh

LEDE Commits lede-commits at lists.infradead.org
Sat May 13 09:12:06 PDT 2017


neoraider pushed a commit to source.git, branch master:
https://git.lede-project.org/5e481881d7abd814abbf40a046be90cbaf835e72

commit 5e481881d7abd814abbf40a046be90cbaf835e72
Author: Matthias Schiffer <mschiffer at universe-factory.net>
AuthorDate: Sat May 13 16:16:01 2017 +0200

    hostapd: remove unused variable declarations in hostapd.sh
    
    None of the variables in this "local" declaration are actually set in
    wpa_supplicant_add_network().
    
    Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>
---
 package/network/services/hostapd/files/hostapd.sh | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh
index 6fb902e..816dd8c 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -708,7 +708,6 @@ wpa_supplicant_add_network() {
 			;;
 		esac
 	}
-	local beacon_int brates mrate
 	[ -n "$bssid" ] && append network_data "bssid=$bssid" "$N$T"
 	[ -n "$beacon_int" ] && append network_data "beacon_int=$beacon_int" "$N$T"
 



More information about the lede-commits mailing list