atmel: remove set but not used variable 'dev'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 23 Oct 2019 07:40:19 +0000 (15:40 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 24 Oct 2019 05:48:31 +0000 (08:48 +0300)
commitd0c160b18ef5a353d8b9e1c7b616d1083c1b010b
tree8fc5e4399987ae08e1665a2f2be1df43742341c4
parentf64b06bd362a6d9e22a2a23dacd50882c1418eff
atmel: remove set but not used variable 'dev'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/wireless/atmel/atmel_cs.c:120:21:
 warning: variable dev set but not used [-Wunused-but-set-variable]

It is never used, so can remove it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/atmel/atmel_cs.c