spi: davinci: remove set but not used variable 'pdata'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 13 Sep 2018 01:22:01 +0000 (01:22 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 13 Sep 2018 12:35:20 +0000 (13:35 +0100)
commit37a1aa88f98d688a5d9119fbdd1086ae4f171d1d
tree0d56aaa9cb6a9d5a9ca7735aec480d9472fad2e0
parent56df612afb606dcefba8ab38ab32e052218b6050
spi: davinci: remove set but not used variable 'pdata'

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

drivers/spi/spi-davinci.c: In function 'davinci_spi_setup':
drivers/spi/spi-davinci.c:422:36: warning:
 variable 'pdata' set but not used [-Wunused-but-set-variable]

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-davinci.c