NFC: st95hf: remove set but not used variables 'dev, nfcddev'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 25 Apr 2019 02:07:20 +0000 (02:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Apr 2019 16:07:18 +0000 (12:07 -0400)
commit16848c8a728e74c1b6a0c994f34f0f5453f257a0
tree3238b538f6104225ecd6297478e48ed935ddc059
parent0e58156d700ac45fd5f0f90698a13233b1fe4c44
NFC: st95hf: remove set but not used variables 'dev, nfcddev'

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@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/nfc/st95hf/core.c