]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: sigmadsp: fix simple_return.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Mon, 24 Nov 2014 20:49:44 +0000 (04:49 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 25 Nov 2014 11:07:53 +0000 (11:07 +0000)
commit141f87d4d6ab36bfcd4c5683cf90abf83b306d90
treeb3c0453a32511d9858c31d57460abd98c971228a
parent1fc10044d76e86b71f724988c7cbd8205bb903a8
ASoC: sigmadsp: fix simple_return.cocci warnings

sound/soc/codecs/sigmadsp.c:656:1-4: WARNING: end returns can be simpified and declaration on line 636 can be dropped

 Simplify a trivial if-return sequence.  Possibly combine with a
 preceding function call.
Generated by: scripts/coccinelle/misc/simple_return.cocci

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/sigmadsp.c