aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-01-11 05:34:46 -0500
committerMark Brown <broonie@kernel.org>2018-01-11 07:30:21 -0500
commit25140717414c319bcc44b5aac39357a52d0bc8e0 (patch)
treef4298f1b4a613605bb59408fe8f128134da1111e /tools/perf/scripts/python/intel-pt-events.py
parent9ae148f80a96a91b636ab0b57d24d4440b919817 (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/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions