staging: r8188eu: remove unused HW_VAR_RF_TYPE
authorMichael Straube <straube.linux@gmail.com>
Sun, 28 Nov 2021 17:09:22 +0000 (18:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Dec 2021 14:13:36 +0000 (15:13 +0100)
After previous cleanups HW_VAR_RF_TYPE is unused now.
Remove it.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20211128170924.5874-9-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

index ceaf5af8c46552a7ca7d52c274986382165d7626..e995904cf85c139e1494a827766473e93d8264a7 100644 (file)
@@ -1653,9 +1653,6 @@ void GetHwReg8188EU(struct adapter *Adapter, u8 variable, u8 *val)
        case HW_VAR_DM_FLAG:
                val[0] = podmpriv->SupportAbility;
                break;
-       case HW_VAR_RF_TYPE:
-               val[0] = haldata->rf_type;
-               break;
        case HW_VAR_FWLPS_RF_ON:
                {
                        /* When we halt NIC, we should check if FW LPS is leave. */
index 693eb32fe1a947e9e25fcc35073ea623afbfb223..7385ebaaba5c439464996dab994c4cc3045ab734 100644 (file)
@@ -29,7 +29,6 @@ enum hw_variables {
        HW_VAR_ACK_PREAMBLE,
        HW_VAR_SEC_CFG,
        HW_VAR_BCN_VALID,
-       HW_VAR_RF_TYPE,
        HW_VAR_DM_FLAG,
        HW_VAR_DM_FUNC_OP,
        HW_VAR_DM_FUNC_SET,