From 5e481881d7abd814abbf40a046be90cbaf835e72 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 13 May 2017 16:16:01 +0200 Subject: [PATCH] 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 --- 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 6fb902e376..816dd8cad5 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" -- 2.25.1