]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: ssm2518: fix simple_return.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Tue, 28 Apr 2015 04:20:32 +0000 (12:20 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 30 Apr 2015 20:24:46 +0000 (21:24 +0100)
commitc927042c83c232536b6646a70afe9e22131ca0e3
tree8c50803f1066614c00ae77c5e8c76b49313eea61
parentf94045d55f230a298ea7ac863a822b48dac9f0b0
ASoC: ssm2518: fix simple_return.cocci warnings

sound/soc/codecs/ssm2518.c:521:5-8: 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

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