summaryrefslogtreecommitdiff
path: root/drivers/iommu/qcom_iommu.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-06-15 20:41:35 +0300
committerMark Brown <broonie@kernel.org>2019-06-17 15:50:52 +0300
commitebc37af5e0a134355ea2b62ed4141458bdbd5389 (patch)
treec75018efc02c6dfced5f6a20f7d3bb97cc909746 /drivers/iommu/qcom_iommu.c
parent36f34737ff48f66c8a19b8788311e4b40d4adf80 (diff)
downloadlinux-ebc37af5e0a134355ea2b62ed4141458bdbd5389.tar.xz
spi: No need to assign dummy value in spi_unregister_controller()
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>
Diffstat (limited to 'drivers/iommu/qcom_iommu.c')
0 files changed, 0 insertions, 0 deletions