OSDN Git Service

staging: rtl8723au: Remove unused struct hostapd_priv
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sun, 25 May 2014 20:43:09 +0000 (22:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 May 2014 22:14:39 +0000 (15:14 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/include/drv_types.h
drivers/staging/rtl8723au/include/rtw_mlme.h

index c3d633c..49add5f 100644 (file)
@@ -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;
index d601c55..4d327ba 100644 (file)
@@ -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);