[openwrt/openwrt] hostapd: remove unused variable

LEDE Commits lede-commits at lists.infradead.org
Wed Jan 13 21:57:03 EST 2021


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/3497b30b9c9699731590611f246dd744a231ccf9

commit 3497b30b9c9699731590611f246dd744a231ccf9
Author: Leon M. George <leon at georgemail.eu>
AuthorDate: Tue Jan 12 09:47:47 2021 +0100

    hostapd: remove unused variable
    
    'enc_str' was never used.
    
    Fixes: 498d84fc4e00 ("netifd: add wireless configuration support
    and port mac80211 to the new framework")
    
    Signed-off-by: Leon M. George <leon at georgemail.eu>
---
 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 a48e8d0766..954045bb37 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -1115,7 +1115,6 @@ wpa_supplicant_add_network() {
 	set_default multi_ap 0
 
 	local key_mgmt='NONE'
-	local enc_str=
 	local network_data=
 	local T="	"
 



More information about the lede-commits mailing list