From: Avraham Stern Date: Mon, 19 Jan 2015 01:44:36 +0000 (-0500) Subject: hostapd: Remove unused variable from hostapd_get_hw_features X-Git-Tag: hostap_2_4~340 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=948d3a87316a8e161c37725cf5bb1907e53e4990;p=thirdparty%2Fhostap.git hostapd: Remove unused variable from hostapd_get_hw_features Signed-off-by: Avraham Stern --- diff --git a/src/ap/hw_features.c b/src/ap/hw_features.c index f6d79ea6b..05431d32c 100644 --- a/src/ap/hw_features.c +++ b/src/ap/hw_features.c @@ -75,7 +75,7 @@ static char * dfs_info(struct hostapd_channel_data *chan) int hostapd_get_hw_features(struct hostapd_iface *iface) { struct hostapd_data *hapd = iface->bss[0]; - int ret = 0, i, j; + int i, j; u16 num_modes, flags; struct hostapd_hw_modes *modes; @@ -138,7 +138,7 @@ int hostapd_get_hw_features(struct hostapd_iface *iface) } } - return ret; + return 0; }