staging: r8188eu: remove ap_sta_info_defer_update()
authorMichael Straube <straube.linux@gmail.com>
Sun, 19 Sep 2021 15:36:54 +0000 (17:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Sep 2021 10:35:11 +0000 (12:35 +0200)
Function ap_sta_info_defer_update() is not used, remove it.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210919153659.20826-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_ap.c
drivers/staging/r8188eu/include/rtw_ap.h

index b265de3ff88d4dbc2bee26b496a40e380e7a3969..49d65d5b3bacce7148729f5c0a7a7d6eb94634f3 100644 (file)
@@ -1731,15 +1731,6 @@ void sta_info_update(struct adapter *padapter, struct sta_info *psta)
        update_sta_info_apmode(padapter, psta);
 }
 
-/* called >= TSR LEVEL for USB or SDIO Interface*/
-void ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta)
-{
-       if (psta->state & _FW_LINKED) {
-               /* add ratid */
-               add_RATid(padapter, psta, 0);/* DM_RATR_STA_INIT */
-       }
-}
-
 void start_ap_mode(struct adapter *padapter)
 {
        int i;
index c7cdab00538d07dcaaa2f85e744339e24b591a56..11e6f799d577161feb038ada06ae6ba44d2efd60 100644 (file)
@@ -30,7 +30,6 @@ void associated_clients_update(struct adapter *padapter, u8 updated);
 void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta);
 u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta);
 void sta_info_update(struct adapter *padapter, struct sta_info *psta);
-void ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta);
 u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta,
               bool active, u16 reason);
 int rtw_sta_flush(struct adapter *padapter);