Skip to contentSkip to conversation

staging: r8188eu: remove rtl8188e_set_hal_ops function

PATCH New Ivan Safonov 1 participant 1 message Sep 3, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 59/63 staging: r8188eu: remove rtl8188e_set_hal_ops function

rtl8188e_set_hal_ops do nothing.

---
 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 3 ---
 drivers/staging/rtl8188eu/hal/usb_halinit.c       | 5 -----
 drivers/staging/rtl8188eu/include/rtl8188e_hal.h  | 2 --
 3 files changed, 10 deletions(-)
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c +0 -3
index 85794cb..938d6f5 100644
@@ -185,9 +185,6 @@ void rtw_hal_notch_filter(struct adapter *adapter, bool enable)
 		usb_write8(adapter, rOFDM0_RxDSP+1, usb_read8(adapter, rOFDM0_RxDSP+1) & ~BIT(1));
 	}
 }
-void rtl8188e_set_hal_ops(struct hal_ops *pHalFunc)
-{
-}
 
 /*  */
 /*  */
drivers/staging/rtl8188eu/hal/usb_halinit.c +0 -5
index e2f54cf..cc27d64 100644
@@ -2043,12 +2043,7 @@ void rtw_hal_def_value_init(struct adapter *adapt)
 
 void rtl8188eu_set_hal_ops(struct adapter *adapt)
 {
-	struct hal_ops	*halfunc = &adapt->HalFunc;
-
-
 	adapt->HalData = kzalloc(sizeof(struct hal_data_8188e), GFP_KERNEL);
 	if (!adapt->HalData)
 		DBG_88E("cant not alloc memory for HAL DATA\n");
-
-	rtl8188e_set_hal_ops(halfunc);
 }
drivers/staging/rtl8188eu/include/rtl8188e_hal.h +0 -2
index 9dd5c29..418bdb9 100644
@@ -385,8 +385,6 @@ void Hal_EfuseParseBoardType88E(struct adapter *pAdapter, u8 *hwinfo,
 void Hal_ReadPowerSavingMode88E(struct adapter *pAdapter, u8 *hwinfo,
 				bool AutoLoadFail);
 
-void rtl8188e_set_hal_ops(struct hal_ops *pHalFunc);
-
 /*  register */
 
 void rtl8188e_start_thread(struct adapter *padapter);
Signature · 1 line
2.7.3