]> git.baikalelectronics.ru Git - kernel.git/commit
IIO: ADC: stm32-dfsdm: remove unused variable again
authorArnd Bergmann <arnd@arndb.de>
Thu, 18 Jan 2018 11:17:47 +0000 (12:17 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 18 Jan 2018 11:22:08 +0000 (11:22 +0000)
commit00708c893248548470936c5d0b4f216ebbe8e185
treea3e510e309de2d4e7ed19e93a0af4506a7a5fcb6
parent9a921c44c121db59616083fed85e1ec3d271273a
IIO: ADC: stm32-dfsdm: remove unused variable again

The merge between commit d88fb1e8b06a ("IIO: ADC: stm32-dfsdm: code
optimization") and commit 32722eff884e ("IIO: ADC: stm32-dfsdm: avoid
unused-variable warning") left one variable behind that is no longer
needed and can be removed, as shown by the gcc warning:

drivers/iio/adc/stm32-dfsdm-core.c: In function 'stm32_dfsdm_probe':
drivers/iio/adc/stm32-dfsdm-core.c:245:29: error: unused variable 'of_id' [-Werror=unused-variable]

Fixes: 9a921c44c121 ("Merge branch 'topic/iio' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-st-dfsdm")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/iio/adc/stm32-dfsdm-core.c