spi: npcm-fiu: remove set but not used variable 'retlen'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 5 Sep 2019 07:24:36 +0000 (15:24 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 5 Sep 2019 17:19:45 +0000 (18:19 +0100)
commita0ce1fd11e587be803eb2f299d478c962df3706f
treeff1cacd23ffdc6763eadc332228b51fd28d3e58f
parent43a5baa6d8b8c6d93458ab0c6a8a7700e94b9708
spi: npcm-fiu: remove set but not used variable 'retlen'

drivers/spi/spi-npcm-fiu.c: In function npcm_fiu_read:
drivers/spi/spi-npcm-fiu.c:472:9: warning:
 variable retlen set but not used [-Wunused-but-set-variable]

It is never used, so remove it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190905072436.23932-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-npcm-fiu.c