staging: rtl8188eu:Remove unused function rtw_handle_dualmac()
authornavin patidar <navin.patidar@gmail.com>
Tue, 27 May 2014 15:35:49 +0000 (21:05 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 19:03:42 +0000 (12:03 -0700)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_wlan_util.c

index 6c9e9a16b2e93f9755e0f52f03697af76ea11a6a..c1195a03eee32770adfeb3cf111ba828b1b1bc1e 100644 (file)
@@ -1663,24 +1663,3 @@ void beacon_timing_control(struct adapter *padapter)
 }
 
 static struct adapter *pbuddy_padapter;
-
-int rtw_handle_dualmac(struct adapter *adapter, bool init)
-{
-       int status = _SUCCESS;
-
-       if (init) {
-               if (pbuddy_padapter == NULL) {
-                       pbuddy_padapter = adapter;
-                       DBG_88E("%s(): pbuddy_padapter == NULL, Set pbuddy_padapter\n", __func__);
-               } else {
-                       adapter->pbuddy_adapter = pbuddy_padapter;
-                       pbuddy_padapter->pbuddy_adapter = adapter;
-                       /*  clear global value */
-                       pbuddy_padapter = NULL;
-                       DBG_88E("%s(): pbuddy_padapter exist, Exchange Information\n", __func__);
-               }
-       } else {
-               pbuddy_padapter = NULL;
-       }
-       return status;
-}