Commit 10ce2646 authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: Remove unused HAL interrupt function wrappers

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d9edcafb
...@@ -34,23 +34,6 @@ void rtw_hal_sw_led_deinit23a(struct rtw_adapter *padapter) ...@@ -34,23 +34,6 @@ void rtw_hal_sw_led_deinit23a(struct rtw_adapter *padapter)
padapter->HalFunc.DeInitSwLeds(padapter); padapter->HalFunc.DeInitSwLeds(padapter);
} }
void rtw_hal_enable_interrupt23a(struct rtw_adapter *padapter)
{
if (padapter->HalFunc.enable_interrupt)
padapter->HalFunc.enable_interrupt(padapter);
else
DBG_8723A("%s: HalFunc.enable_interrupt is NULL!\n", __FUNCTION__);
}
void rtw_hal_disable_interrupt23a(struct rtw_adapter *padapter)
{
if (padapter->HalFunc.disable_interrupt)
padapter->HalFunc.disable_interrupt(padapter);
else
DBG_8723A("%s: HalFunc.disable_interrupt is NULL!\n", __FUNCTION__);
}
void rtw_hal_update_ra_mask23a(struct sta_info *psta, u8 rssi_level) void rtw_hal_update_ra_mask23a(struct sta_info *psta, u8 rssi_level)
{ {
struct rtw_adapter *padapter; struct rtw_adapter *padapter;
...@@ -70,10 +53,3 @@ void rtw_hal_update_ra_mask23a(struct sta_info *psta, u8 rssi_level) ...@@ -70,10 +53,3 @@ void rtw_hal_update_ra_mask23a(struct sta_info *psta, u8 rssi_level)
} else } else
rtl8723a_update_ramask(padapter, psta->mac_id, rssi_level); rtl8723a_update_ramask(padapter, psta->mac_id, rssi_level);
} }
s32 rtw_hal_interrupt_handler23a(struct rtw_adapter *padapter)
{
if (padapter->HalFunc.interrupt_handler)
return padapter->HalFunc.interrupt_handler(padapter);
return _FAIL;
}
...@@ -63,10 +63,6 @@ enum hal_odm_variable { ...@@ -63,10 +63,6 @@ enum hal_odm_variable {
struct hal_ops { struct hal_ops {
void (*InitSwLeds)(struct rtw_adapter *padapter); void (*InitSwLeds)(struct rtw_adapter *padapter);
void (*DeInitSwLeds)(struct rtw_adapter *padapter); void (*DeInitSwLeds)(struct rtw_adapter *padapter);
void (*enable_interrupt)(struct rtw_adapter *padapter);
void (*disable_interrupt)(struct rtw_adapter *padapter);
s32 (*interrupt_handler)(struct rtw_adapter *padapter);
}; };
enum rt_eeprom_type { enum rt_eeprom_type {
...@@ -119,14 +115,9 @@ int rtw_hal_init23a(struct rtw_adapter *padapter); ...@@ -119,14 +115,9 @@ int rtw_hal_init23a(struct rtw_adapter *padapter);
int rtw_hal_deinit23a(struct rtw_adapter *padapter); int rtw_hal_deinit23a(struct rtw_adapter *padapter);
void rtw_hal_stop(struct rtw_adapter *padapter); void rtw_hal_stop(struct rtw_adapter *padapter);
void rtw_hal_enable_interrupt23a(struct rtw_adapter *padapter);
void rtw_hal_disable_interrupt23a(struct rtw_adapter *padapter);
void rtw_hal_update_ra_mask23a(struct sta_info *psta, u8 rssi_level); void rtw_hal_update_ra_mask23a(struct sta_info *psta, u8 rssi_level);
void rtw_hal_clone_data(struct rtw_adapter *dst_padapter, struct rtw_adapter *src_padapter); void rtw_hal_clone_data(struct rtw_adapter *dst_padapter, struct rtw_adapter *src_padapter);
s32 rtw_hal_interrupt_handler23a(struct rtw_adapter *padapter);
void hw_var_set_correct_tsf(struct rtw_adapter *padapter); void hw_var_set_correct_tsf(struct rtw_adapter *padapter);
void hw_var_set_mlme_disconnect(struct rtw_adapter *padapter); void hw_var_set_mlme_disconnect(struct rtw_adapter *padapter);
void hw_var_set_opmode(struct rtw_adapter *padapter, u8 mode); void hw_var_set_opmode(struct rtw_adapter *padapter, u8 mode);
......
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