summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-06-15 20:41:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-20 10:23:17 +0200
commitfccbb6523d8757d230ed27194906d4e46ae9a7d5 (patch)
treee0b40c3608a967f6529830e4aa3d627ce5aedb33 /tools/perf/scripts/python/export-to-postgresql.py
parent54000d2e15e92a8077e27dd99eafeb13a7e32334 (diff)
spi: No need to assign dummy value in spi_unregister_controller()
[ Upstream commit ebc37af5e0a134355ea2b62ed4141458bdbd5389 ] The device_for_each_child() doesn't require the returned value to be checked. Thus, drop the dummy variable completely and have no warning anymore: drivers/spi/spi.c: In function ‘spi_unregister_controller’: drivers/spi/spi.c:2480:6: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable] int dummy; ^~~~~ Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions