staging: r8188eu: remove rtl8188e_set_hal_ops function
authorIvan Safonov <insafonov@gmail.com>
Sat, 3 Sep 2016 15:33:44 +0000 (22:33 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Sep 2016 09:30:03 +0000 (11:30 +0200)
rtl8188e_set_hal_ops do nothing.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
drivers/staging/rtl8188eu/hal/usb_halinit.c
drivers/staging/rtl8188eu/include/rtl8188e_hal.h

index 85794cbdb8bff6d1e336998355319cc2070ff61d..938d6f55857f24a9b1caa4cb05414814eb0437c9 100644 (file)
@@ -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)
-{
-}
 
 /*  */
 /*  */
index e2f54cf76299508fe4a9cc6e74bd34f379b25db1..cc27d641550b6baec0d10490b24fc84f807c5e5f 100644 (file)
@@ -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);
 }
index 9dd5c293a54bc53666345b147edfed448cbddc83..418bdb981b1cfc13f5836c030a7bfe7018c801be 100644 (file)
@@ -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);