staging: r8188eu: remove GetHalDefVar8188EUsb()
authorMichael Straube <straube.linux@gmail.com>
Tue, 5 Apr 2022 10:49:10 +0000 (12:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Apr 2022 14:11:32 +0000 (16:11 +0200)
commit09ff203cb0c5f66ed61db358496e82b8b91b117d
tree7e7cbc5354e0db571e69e3c7b048db14476087b8
parent72b304d013e9f2b859c2a5795986018dd50d02c8
staging: r8188eu: remove GetHalDefVar8188EUsb()

The local variable odm_flag in rtw_dbg_port() is set but never used.
This are the last two remaining calls to GetHalDefVar8188EUsb(). Both
calls can be removed and we finally can remove GetHalDefVar8188EUsb()
itself. This is part of the ongoing effort to get rid of the unwanted
hal layer.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220405104910.9769-5-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/usb_halinit.c
drivers/staging/r8188eu/include/hal_intf.h
drivers/staging/r8188eu/os_dep/ioctl_linux.c