staging: rtl8188eu: remove unused rtw_hal_set_def_var
authorLuca Ceresoli <luca@lucaceresoli.net>
Tue, 14 Jul 2015 22:44:54 +0000 (00:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jul 2015 17:15:14 +0000 (10:15 -0700)
commitf83113d3e6f2cef66890a90d01c5347ece4ecd97
treedbb5f9c49f40effd07da276dc6b327245b74ad55
parent42748bc905d57aa96a3b8ef50261bcf95890bef7
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>
drivers/staging/rtl8188eu/hal/hal_intf.c
drivers/staging/rtl8188eu/hal/usb_halinit.c
drivers/staging/rtl8188eu/include/hal_intf.h