summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8188eu/hal/hal_intf.c
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2015-07-14 22:44:54 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-16 17:15:14 (GMT)
commitf83113d3e6f2cef66890a90d01c5347ece4ecd97 (patch)
treedbb5f9c49f40effd07da276dc6b327245b74ad55 /drivers/staging/rtl8188eu/hal/hal_intf.c
parent42748bc905d57aa96a3b8ef50261bcf95890bef7 (diff)
downloadlinux-f83113d3e6f2cef66890a90d01c5347ece4ecd97.tar.xz
staging: rtl8188eu: remove unused rtw_hal_set_def_var
rtw_hal_set_def_var() is never referenced, so remove it. It used to be the only place where the SetHalDefVarHandler callback was called, so get rid of the function pointer as well. Also remove the callback itself, SetHalDefVar8188EUsb(), which was not called anywhere else. 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/hal/hal_intf.c')
-rw-r--r--drivers/staging/rtl8188eu/hal/hal_intf.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/rtl8188eu/hal/hal_intf.c b/drivers/staging/rtl8188eu/hal/hal_intf.c
index fecd2ef..5af5740 100644
--- a/drivers/staging/rtl8188eu/hal/hal_intf.c
+++ b/drivers/staging/rtl8188eu/hal/hal_intf.c
@@ -131,14 +131,6 @@ void rtw_hal_get_hwreg(struct adapter *adapt, u8 variable, u8 *val)
adapt->HalFunc.GetHwRegHandler(adapt, variable, val);
}
-u8 rtw_hal_set_def_var(struct adapter *adapt, enum hal_def_variable var,
- void *val)
-{
- if (adapt->HalFunc.SetHalDefVarHandler)
- return adapt->HalFunc.SetHalDefVarHandler(adapt, var, val);
- return _FAIL;
-}
-
u8 rtw_hal_get_def_var(struct adapter *adapt,
enum hal_def_variable var, void *val)
{