From: Michael Straube Date: Thu, 9 Sep 2021 11:05:17 +0000 (+0200) Subject: staging: r8188eu: remove unused macro READ_AND_CONFIG_TC X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=174c3c1d74bea8286855a454da6cda1c8bbdccc8;p=linux.git staging: r8188eu: remove unused macro READ_AND_CONFIG_TC The macro READ_AND_CONFIG_TC is not used, remove it. Found with GCC -Wunused-macros. Acked-by: Martin Kaiser Signed-off-by: Michael Straube Link: https://lore.kernel.org/r/20210909110517.15243-1-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/r8188eu/hal/odm_HWConfig.c b/drivers/staging/r8188eu/hal/odm_HWConfig.c index 0a07795e3912a..40642375c972f 100644 --- a/drivers/staging/r8188eu/hal/odm_HWConfig.c +++ b/drivers/staging/r8188eu/hal/odm_HWConfig.c @@ -6,7 +6,6 @@ #define READ_AND_CONFIG READ_AND_CONFIG_MP #define READ_AND_CONFIG_MP(ic, txt) (ODM_ReadAndConfig##txt##ic(dm_odm)) -#define READ_AND_CONFIG_TC(ic, txt) (ODM_ReadAndConfig_TC##txt##ic(dm_odm)) static u8 odm_QueryRxPwrPercentage(s8 AntPower) {