]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8723au: Remove unused HAL interrupt function wrappers
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 16 May 2014 08:04:22 +0000 (10:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 18:34:27 +0000 (11:34 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/hal_intf.c
drivers/staging/rtl8723au/include/hal_intf.h

index dba428ac21edb9757a9cc85b5272071e075f503e..1d47539c220ea527cb12f96c3462312423a3b94e 100644 (file)
@@ -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;
-}
index 6e32215a0b043e220865b66b9406631937d71733..b2dcd1da9713d990080ffdc804d2e6dff3bd84b9 100644 (file)
@@ -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);