]> git.karo-electronics.de Git - linux-beck.git/commit
mmc: sdhci-pci: fix simple_return.cocci warnings
authorkbuild test robot <lkp@intel.com>
Mon, 5 Oct 2015 20:01:04 +0000 (04:01 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Oct 2015 15:00:06 +0000 (16:00 +0100)
commit7582041ff3d4aaa348894858d6384c4a9981c5fc
treefb3e06cc81f47aa662533da28be1a007ba54a3a2
parentf0cbd7806d736d77714994cc41c5161c0a29cccf
mmc: sdhci-pci: fix simple_return.cocci warnings

drivers/mmc/host/sdhci-pci-core.c:447:1-4: WARNING: end returns can be simpified

 Simplify a trivial if-return sequence.  Possibly combine with a
 preceding function call.

Generated by: scripts/coccinelle/misc/simple_return.cocci

CC: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-core.c