summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu/include/hal_intf.h
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2015-07-15 00:44:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-16 10:15:14 -0700
commit42748bc905d57aa96a3b8ef50261bcf95890bef7 (patch)
tree0fcbb5b4b2d50a8573932f976ab8896bca8cf5e0 /drivers/staging/rtl8188eu/include/hal_intf.h
parentc8011d90c68d10d67b797e0704c16697bba683a1 (diff)
downloadop-kernel-dev-42748bc905d57aa96a3b8ef50261bcf95890bef7.zip
op-kernel-dev-42748bc905d57aa96a3b8ef50261bcf95890bef7.tar.gz
staging: rtl8188eu: remove unused {en,dis}able_interrupt
rtw_hal_enable_interrupt() and rtw_hal_disable_interrupt() are never referenced, so remove them. They used to be the only place where the enable_interrupt() and disable_interrupt() callbacks were called, and the function pointer is never set, so get rid of the function pointer as well. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Cc: Greg Kroah-Hartman <gregkh@linux.com> Cc: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/include/hal_intf.h')
-rw-r--r--drivers/staging/rtl8188eu/include/hal_intf.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/rtl8188eu/include/hal_intf.h b/drivers/staging/rtl8188eu/include/hal_intf.h
index 3b476d8..d85bc44 100644
--- a/drivers/staging/rtl8188eu/include/hal_intf.h
+++ b/drivers/staging/rtl8188eu/include/hal_intf.h
@@ -171,8 +171,6 @@ struct hal_ops {
void (*read_adapter_info)(struct adapter *padapter);
- void (*enable_interrupt)(struct adapter *padapter);
- void (*disable_interrupt)(struct adapter *padapter);
s32 (*interrupt_handler)(struct adapter *padapter);
void (*set_bwmode_handler)(struct adapter *padapter,
@@ -276,9 +274,6 @@ void rtw_hal_set_odm_var(struct adapter *padapter,
enum hal_odm_variable eVariable, void *pValue1,
bool bSet);
-void rtw_hal_enable_interrupt(struct adapter *padapter);
-void rtw_hal_disable_interrupt(struct adapter *padapter);
-
u32 rtw_hal_inirp_init(struct adapter *padapter);
u32 rtw_hal_inirp_deinit(struct adapter *padapter);
OpenPOWER on IntegriCloud