staging: rtl8723au: Get rid of unused get_bsstype23a()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 21 May 2014 07:38:24 +0000 (09:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 07:27:50 +0000 (16:27 +0900)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_wlan_util.c
drivers/staging/rtl8723au/include/rtw_mlme_ext.h

index ce581a2c8f10cb912ed83c80c14017d9592d288a..256385c2f382def6a655e7ffb18253543b4a56e8 100644 (file)
@@ -394,15 +394,6 @@ void set_channel_bwmode23a(struct rtw_adapter *padapter, unsigned char channel,
        set_bwmode(padapter, bwmode, channel_offset);
 }
 
-int get_bsstype23a(unsigned short capability)
-{
-       if (capability & BIT(0))
-               return WIFI_FW_AP_STATE;
-       else if (capability & BIT(1))
-               return WIFI_FW_ADHOC_STATE;
-       return 0;
-}
-
 inline u8 *get_my_bssid23a(struct wlan_bssid_ex *pnetwork)
 {
        return pnetwork->MacAddress;
index 8d15297c3cb4a0a1751036437d11fe0fd5d4a5f2..b5f3dbbeb15761365e1b7c249e4b84db1df94fd7 100644 (file)
@@ -502,7 +502,6 @@ int collect_bss_info23a(struct rtw_adapter *padapter,
 void update_network23a(struct wlan_bssid_ex *dst, struct wlan_bssid_ex *src,
                    struct rtw_adapter *padapter, bool update_ie);
 
-int get_bsstype23a(unsigned short capability);
 u8 *get_my_bssid23a(struct wlan_bssid_ex *pnetwork);
 u16 get_beacon_interval23a(struct wlan_bssid_ex *bss);