From: Jes Sorensen Date: Sun, 25 May 2014 20:43:09 +0000 (+0200) Subject: staging: rtl8723au: Remove unused struct hostapd_priv X-Git-Tag: v3.16-rc1~30^2~36^2~233 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aaa1d6359b0732e5d31cecc39a998f54e3bc0af2;p=platform%2Fkernel%2Flinux-stable.git staging: rtl8723au: Remove unused struct hostapd_priv Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/include/drv_types.h b/drivers/staging/rtl8723au/include/drv_types.h index c3d633c..49add5f 100644 --- a/drivers/staging/rtl8723au/include/drv_types.h +++ b/drivers/staging/rtl8723au/include/drv_types.h @@ -229,10 +229,6 @@ struct rtw_adapter { struct eeprom_priv eeprompriv; struct led_priv ledpriv; -#ifdef CONFIG_8723AU_AP_MODE - struct hostapd_priv *phostapdpriv; -#endif - u32 setband; void *HalData; diff --git a/drivers/staging/rtl8723au/include/rtw_mlme.h b/drivers/staging/rtl8723au/include/rtw_mlme.h index d601c55..4d327ba 100644 --- a/drivers/staging/rtl8723au/include/rtw_mlme.h +++ b/drivers/staging/rtl8723au/include/rtw_mlme.h @@ -225,16 +225,6 @@ struct mlme_priv { u32 wfd_go_probe_resp_ie_len; /* for GO */ }; -#ifdef CONFIG_8723AU_AP_MODE - -struct hostapd_priv { - struct rtw_adapter *padapter; -}; - -int hostapd_mode_init(struct rtw_adapter *padapter); -void hostapd_mode_unload(struct rtw_adapter *padapter); -#endif - void rtw_joinbss_event_prehandle23a(struct rtw_adapter *adapter, u8 *pbuf); void rtw_survey_event_cb23a(struct rtw_adapter *adapter, const u8 *pbuf); void rtw_surveydone_event_callback23a(struct rtw_adapter *adapter, const u8 *pbuf);