diff options
author | Andy Shevchenko <[email protected]> | 2020-05-06 18:30:19 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-05-06 18:11:31 +0100 |
commit | d4dd6c0a404a2ed3843b4b685d6990c4438a64c0 (patch) | |
tree | 5237787717699701ea608e08a2fd6a619d54d3b3 /tools/perf/scripts/python/compaction-times.py | |
parent | 3cb97e223d277f84171cc4ccecab31e08b2ee7b5 (diff) |
spi: dw: Remove unused variable in CR0 configuring hooks
After enabling new IP support in the driver couple of variables
were left unused compiler is not happy about:
.../spi-dw.c: In function ‘dw_spi_update_cr0’:
.../spi-dw.c:264:17: warning: unused variable ‘dws’ [-Wunused-variable]
264 | struct dw_spi *dws = spi_controller_get_devdata(master);
| ^~~
.../spi-dw.c: In function ‘dw_spi_update_cr0_v1_01a’:
.../spi-dw.c:285:17: warning: unused variable ‘dws’ [-Wunused-variable]
285 | struct dw_spi *dws = spi_controller_get_devdata(master);
| ^~~
Drop them for good.
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions