[PATCH 4/7] hostapd: Remove unused variable from hostapd_get_hw_features
Ilan Peer
ilan.peer
Sun Jan 18 17:44:36 PST 2015
From: Avraham Stern <avraham.stern at intel.com>
Signed-off-by: Avraham Stern <avraham.stern at intel.com>
---
src/ap/hw_features.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ap/hw_features.c b/src/ap/hw_features.c
index f6d79ea..05431d3 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;
}
--
1.8.3.2
More information about the Hostap
mailing list