hostapd: Remove unused variable from hostapd_get_hw_features

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
This commit is contained in:
Avraham Stern 2015-01-18 20:44:36 -05:00 committed by Jouni Malinen
parent dd09e424c2
commit 948d3a8731

View file

@ -75,7 +75,7 @@ static char * dfs_info(struct hostapd_channel_data *chan)
int hostapd_get_hw_features(struct hostapd_iface *iface) int hostapd_get_hw_features(struct hostapd_iface *iface)
{ {
struct hostapd_data *hapd = iface->bss[0]; struct hostapd_data *hapd = iface->bss[0];
int ret = 0, i, j; int i, j;
u16 num_modes, flags; u16 num_modes, flags;
struct hostapd_hw_modes *modes; struct hostapd_hw_modes *modes;
@ -138,7 +138,7 @@ int hostapd_get_hw_features(struct hostapd_iface *iface)
} }
} }
return ret; return 0;
} }