staging: r8188eu: remove unused macro IS_FW_81xxC
authorMichael Straube <straube.linux@gmail.com>
Sun, 5 Dec 2021 17:13:42 +0000 (18:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Dec 2021 10:12:06 +0000 (11:12 +0100)
The macro IS_FW_81xxC is not used. Remove it.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20211205171342.20551-11-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_hal_init.c

index 17537d2..d241daf 100644 (file)
@@ -508,8 +508,6 @@ static s32 _FWFreeToGo(struct adapter *padapter)
        return _FAIL;
 }
 
-#define IS_FW_81xxC(padapter)  (((GET_HAL_DATA(padapter))->FirmwareSignature & 0xFFF0) == 0x88C0)
-
 static int load_firmware(struct rt_firmware *pFirmware, struct device *device)
 {
        s32     rtStatus = _SUCCESS;