From 948d3a87316a8e161c37725cf5bb1907e53e4990 Mon Sep 17 00:00:00 2001 From: Avraham Stern Date: Sun, 18 Jan 2015 20:44:36 -0500 Subject: [PATCH] hostapd: Remove unused variable from hostapd_get_hw_features Signed-off-by: Avraham Stern --- 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 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; }