spi: npcm: Remove set but not used variable 'val'
authorzhengbin <zhengbin13@huawei.com>
Wed, 9 Oct 2019 00:37:17 +0000 (08:37 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 9 Oct 2019 17:20:16 +0000 (18:20 +0100)
commitc46652ee6cacc42513e4f555f0050db2d537dab6
treeede3044860a05ea80ba708bdc6083243c242fc9b
parent944be39bd47cf0d45e50eb45b487031dde8569e5
spi: npcm: Remove set but not used variable 'val'

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

drivers/spi/spi-npcm-pspi.c: In function npcm_pspi_handler:
drivers/spi/spi-npcm-pspi.c:296:6: warning: variable val set but not used [-Wunused-but-set-variable]

It is not used since commit 2a22f1b30cee ("spi:
npcm: add NPCM PSPI controller driver")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Link: https://lore.kernel.org/r/1570581437-104549-3-git-send-email-zhengbin13@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-npcm-pspi.c