mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 02:34:10 -04:00
staging: rtl8723au: Remove unused HAL interrupt function wrappers
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
d9edcafbdc
commit
10ce264649
@@ -34,23 +34,6 @@ void rtw_hal_sw_led_deinit23a(struct rtw_adapter *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)
|
||||
{
|
||||
struct rtw_adapter *padapter;
|
||||
@@ -70,10 +53,3 @@ void rtw_hal_update_ra_mask23a(struct sta_info *psta, u8 rssi_level)
|
||||
} else
|
||||
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 {
|
||||
struct hal_ops {
|
||||
void (*InitSwLeds)(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 {
|
||||
@@ -119,14 +115,9 @@ int rtw_hal_init23a(struct rtw_adapter *padapter);
|
||||
int rtw_hal_deinit23a(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_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_mlme_disconnect(struct rtw_adapter *padapter);
|
||||
void hw_var_set_opmode(struct rtw_adapter *padapter, u8 mode);
|
||||
|
||||
Reference in New Issue
Block a user