diff options
author | 2018-01-11 11:34:46 +0100 | |
---|---|---|
committer | 2018-01-11 12:30:21 +0000 | |
commit | 25140717414c319bcc44b5aac39357a52d0bc8e0 (patch) | |
tree | f4298f1b4a613605bb59408fe8f128134da1111e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | IIO: ADC: stm32_dfsdm_stop_filter() can be static (diff) | |
download | linux-dev-25140717414c319bcc44b5aac39357a52d0bc8e0.tar.xz linux-dev-25140717414c319bcc44b5aac39357a52d0bc8e0.zip |
IIO: ADC: stm32-dfsdm: avoid unused-variable warning
Building with CONFIG_OF disabled produces a compiler warning:
drivers/iio/adc/stm32-dfsdm-core.c: In function 'stm32_dfsdm_probe':
drivers/iio/adc/stm32-dfsdm-core.c:245:22: error: unused variable 'pnode' [-Werror=unused-variable]
This removes the variable and open-codes it in the only place
it gets used to avoid that warning.
Fixes: bed73904e76f ("IIO: ADC: add stm32 DFSDM core support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
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