[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190426.120747.1538732968291927600.davem@davemloft.net>
Date: Fri, 26 Apr 2019 12:07:47 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: sameo@...ux.intel.com, daniel@...que.org, dagmcr@...il.com,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH -next] NFC: st95hf: remove set but not used variables
'dev, nfcddev'
From: YueHaibing <yuehaibing@...wei.com>
Date: Thu, 25 Apr 2019 02:07:20 +0000
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/nfc/st95hf/core.c: In function 'st95hf_irq_thread_handler':
> drivers/nfc/st95hf/core.c:786:26: warning:
> variable 'nfcddev' set but not used [-Wunused-but-set-variable]
>
> drivers/nfc/st95hf/core.c:784:17: warning:
> variable 'dev' set but not used [-Wunused-but-set-variable]
>
> They are never used since introduction in
> commit cab47333f0f7 ("NFC: Add STMicroelectronics ST95HF driver")
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied, thank you.
Powered by blists - more mailing lists