* [PATCH] staging: r8188eu: remove unused macro READ_AND_CONFIG_TC
@ 2021-09-09 11:05 Michael Straube
2021-09-09 12:24 ` Martin Kaiser
0 siblings, 1 reply; 2+ messages in thread
From: Michael Straube @ 2021-09-09 11:05 UTC (permalink / raw)
To: gregkh
Cc: Larry.Finger, phil, martin, fmdefrancesco, linux-staging,
linux-kernel, Michael Straube
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] staging: r8188eu: remove unused macro READ_AND_CONFIG_TC
2021-09-09 11:05 [PATCH] staging: r8188eu: remove unused macro READ_AND_CONFIG_TC Michael Straube
@ 2021-09-09 12:24 ` Martin Kaiser
0 siblings, 0 replies; 2+ messages in thread
From: Martin Kaiser @ 2021-09-09 12:24 UTC (permalink / raw)
To: Michael Straube
Cc: gregkh, Larry.Finger, phil, fmdefrancesco, linux-staging, linux-kernel
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-09 14:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-09 11:05 [PATCH] staging: r8188eu: remove unused macro READ_AND_CONFIG_TC Michael Straube
2021-09-09 12:24 ` Martin Kaiser
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).