spi: spi-gpio: Remove set but not used variable 'pdata'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 6 Sep 2018 01:38:45 +0000 (01:38 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 6 Sep 2018 10:35:11 +0000 (11:35 +0100)
commit48c29d0d27fbbb4c78d3c14c50067d7e8919ed95
tree749fca8402809382056478924f187a2fe546ad94
parent7c5d8a249acadc3e9d5af643c0fe24b608a98269
spi: spi-gpio: Remove set but not used variable 'pdata'

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

drivers/spi/spi-gpio.c: In function 'spi_gpio_remove':
drivers/spi/spi-gpio.c:450:33: 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-gpio.c