diff options
author | 2019-01-10 11:14:07 +0100 | |
---|---|---|
committer | 2019-01-10 10:59:39 +0000 | |
commit | 4f0a0cd52d6c812fbf737e436b18f04eac2e312e (patch) | |
tree | 63f72f4f1e67c8e56b8f5f1151a60789181dd752 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | spi: core: avoid waking pump thread from spi_sync instead run teardown delayed (diff) | |
download | wireguard-linux-4f0a0cd52d6c812fbf737e436b18f04eac2e312e.tar.xz wireguard-linux-4f0a0cd52d6c812fbf737e436b18f04eac2e312e.zip |
spi: dw: fix warning unused variable 'ret'
When CONFIG_SPI_DESIGNWARE are enabled we see the unused variable
warning in dw_spi_setup.
../drivers/spi/spi-dw.c: In function ‘dw_spi_setup’:
../drivers/spi/spi-dw.c:400:6: warning: unused variable ‘ret’ [-Wunused-variable]
int ret;
^~~
Remove the unused varable.
Fixes: 9400c41e77b8 ("spi: dw: Convert to use CS GPIO descriptors")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions