hostapd: remove unused variable
authorLeon M. George <leon@georgemail.eu>
Tue, 12 Jan 2021 08:47:47 +0000 (09:47 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 14 Jan 2021 02:45:17 +0000 (03:45 +0100)
'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@georgemail.eu>
package/network/services/hostapd/files/hostapd.sh

index a48e8d0766abd4fb30464c0ed82a428b38e009cd..954045bb37c16b26e357cce1a8ce183c17672973 100644 (file)
@@ -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="       "