diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-01-11 05:34:46 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-01-11 07:29:35 -0500 |
commit | 2353758bc2d427809f5feb15f046ded91c60afef (patch) | |
tree | 9db92be590aa9c94bddb27e3f739c8029f19db94 /tools/perf/scripts/python/stackcollapse.py | |
parent | 6dee6722c6065f4850eab98c2b7b9f4a08a35813 (diff) |
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions