staging: rtl8723au: Remove unused functions rtw_indicate_sta_{dis,}assoc_event23a()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 9 Apr 2014 21:21:05 +0000 (23:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Apr 2014 15:29:17 +0000 (08:29 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/include/rtw_ap.h
drivers/staging/rtl8723au/os_dep/mlme_linux.c

index 76f82d68f633d2b205cf2360174a146d78a38e86..7bcadff02ef9822d69fcf08445968d501f870146 100644 (file)
@@ -22,8 +22,6 @@
 #ifdef CONFIG_8723AU_AP_MODE
 
 /* external function */
-void rtw_indicate_sta_assoc_event23a(struct rtw_adapter *padapter, struct sta_info *psta);
-void rtw_indicate_sta_disassoc_event23a(struct rtw_adapter *padapter, struct sta_info *psta);
 
 void init_mlme_ap_info23a(struct rtw_adapter *padapter);
 void free_mlme_ap_info23a(struct rtw_adapter *padapter);
index ab5550650e21fb14093edf67afad391a25fc4182..959c1d1d838a36c21bf5278f408686af5e5edea8 100644 (file)
@@ -120,49 +120,3 @@ void rtw_report_sec_ie23a(struct rtw_adapter *adapter, u8 authmode, u8 *sec_ie)
                kfree(buff);
        }
 }
-
-#ifdef CONFIG_8723AU_AP_MODE
-void rtw_indicate_sta_assoc_event23a(struct rtw_adapter *padapter,
-                                 struct sta_info *psta)
-{
-       struct sta_priv *pstapriv = &padapter->stapriv;
-       union iwreq_data wrqu;
-
-       if (psta == NULL)
-               return;
-
-       if (psta->aid > NUM_STA)
-               return;
-
-       if (pstapriv->sta_aid[psta->aid - 1] != psta)
-               return;
-
-       wrqu.addr.sa_family = ARPHRD_ETHER;
-
-       memcpy(wrqu.addr.sa_data, psta->hwaddr, ETH_ALEN);
-
-       DBG_8723A("+rtw_indicate_sta_assoc_event23a\n");
-}
-
-void rtw_indicate_sta_disassoc_event23a(struct rtw_adapter *padapter,
-                                    struct sta_info *psta)
-{
-       struct sta_priv *pstapriv = &padapter->stapriv;
-       union iwreq_data wrqu;
-
-       if (psta == NULL)
-               return;
-
-       if (psta->aid > NUM_STA)
-               return;
-
-       if (pstapriv->sta_aid[psta->aid - 1] != psta)
-               return;
-
-       wrqu.addr.sa_family = ARPHRD_ETHER;
-
-       memcpy(wrqu.addr.sa_data, psta->hwaddr, ETH_ALEN);
-
-       DBG_8723A("+rtw_indicate_sta_disassoc_event23a\n");
-}
-#endif