staging: r8188eu: remove IS_1T1R, IS_1T2R, IS_2T2R macros
authorMichael Straube <straube.linux@gmail.com>
Fri, 17 Sep 2021 08:06:12 +0000 (10:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Sep 2021 14:32:06 +0000 (16:32 +0200)
commit17a430a0f47ed14b8b3621fc74ab00df93498f57
tree25f4d0e9ee852b58d3101879ada433fd793bbc9a
parentc268108172061c7fa554192e86b46d89abc28a3e
staging: r8188eu: remove IS_1T1R, IS_1T2R, IS_2T2R macros

In this driver RFType is RF_TYPE_1T1R, so only the macro IS_1T1R
returns true. Remove the macros and adjust related code accordingly.

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