From: Matthias Schiffer Date: Sat, 13 May 2017 14:16:01 +0000 (+0200) Subject: hostapd: remove unused variable declarations in hostapd.sh X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fluka.git;a=commitdiff_plain;h=5e481881d7abd814abbf40a046be90cbaf835e72 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 --- 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"