lkml.org 
[lkml]   [2021]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] staging: r8188eu: remove unused macro READ_AND_CONFIG_TC
Thus wrote Michael Straube (straube.linux@gmail.com):

> The macro READ_AND_CONFIG_TC is not used, remove it.
> Found with GCC -Wunused-macros.

> Signed-off-by: Michael Straube <straube.linux@gmail.com>
> ---
> drivers/staging/r8188eu/hal/odm_HWConfig.c | 1 -
> 1 file changed, 1 deletion(-)

> diff --git a/drivers/staging/r8188eu/hal/odm_HWConfig.c b/drivers/staging/r8188eu/hal/odm_HWConfig.c
> index ada22a526fee..058d04f6aa58 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)
> {
> --
> 2.33.0

looks good and compiles for me

Acked-by: Martin Kaiser <martin@kaiser.cx>

\
 
 \ /
  Last update: 2021-09-09 16:14    [W:0.032 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site