Commit 274c4f29 authored by Ivan Safonov's avatar Ivan Safonov Committed by Greg Kroah-Hartman

staging: r8188eu: remove rtl8188e_set_hal_ops function

rtl8188e_set_hal_ops do nothing.
Signed-off-by: default avatarIvan Safonov <insafonov@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2490fbf7
...@@ -185,9 +185,6 @@ void rtw_hal_notch_filter(struct adapter *adapter, bool enable) ...@@ -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)); usb_write8(adapter, rOFDM0_RxDSP+1, usb_read8(adapter, rOFDM0_RxDSP+1) & ~BIT(1));
} }
} }
void rtl8188e_set_hal_ops(struct hal_ops *pHalFunc)
{
}
/* */ /* */
/* */ /* */
......
...@@ -2043,12 +2043,7 @@ void rtw_hal_def_value_init(struct adapter *adapt) ...@@ -2043,12 +2043,7 @@ void rtw_hal_def_value_init(struct adapter *adapt)
void rtl8188eu_set_hal_ops(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); adapt->HalData = kzalloc(sizeof(struct hal_data_8188e), GFP_KERNEL);
if (!adapt->HalData) if (!adapt->HalData)
DBG_88E("cant not alloc memory for HAL DATA\n"); DBG_88E("cant not alloc memory for HAL DATA\n");
rtl8188e_set_hal_ops(halfunc);
} }
...@@ -385,8 +385,6 @@ void Hal_EfuseParseBoardType88E(struct adapter *pAdapter, u8 *hwinfo, ...@@ -385,8 +385,6 @@ void Hal_EfuseParseBoardType88E(struct adapter *pAdapter, u8 *hwinfo,
void Hal_ReadPowerSavingMode88E(struct adapter *pAdapter, u8 *hwinfo, void Hal_ReadPowerSavingMode88E(struct adapter *pAdapter, u8 *hwinfo,
bool AutoLoadFail); bool AutoLoadFail);
void rtl8188e_set_hal_ops(struct hal_ops *pHalFunc);
/* register */ /* register */
void rtl8188e_start_thread(struct adapter *padapter); void rtl8188e_start_thread(struct adapter *padapter);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment