[openwrt/openwrt] hostapd: remove unused variable

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


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/4bde00c2a3cdb97d0bf9ed35955cebc477e472f5

commit 4bde00c2a3cdb97d0bf9ed35955cebc477e472f5
Author: Leon M. George <leon at georgemail.eu>
AuthorDate: Tue Jan 12 10:07:44 2021 +0100

    hostapd: remove unused variable
    
    'base' 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 954045bb37..b46d58b4a3 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -112,7 +112,6 @@ hostapd_prepare_device_config() {
 	local config="$1"
 	local driver="$2"
 
-	local base="${config%%.conf}"
 	local base_cfg=
 
 	json_get_vars country country_ie beacon_int:100 dtim_period:2 doth require_mode legacy_rates \



More information about the lede-commits mailing list