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

In order to get rid of the function GetHalDefVar8188EUsb(), remove
the HAL_DEF_IS_SUPPORT_ANT_DIV case from it and move the functionality
into a new function. 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-3-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_cmd.c
drivers/staging/r8188eu/hal/usb_halinit.c
drivers/staging/r8188eu/include/hal_intf.h