ASoC: patch for the useless 'break' removal in kirkwood
authorWan ZongShun <mcuos.com@gmail.com>
Wed, 2 Jun 2010 08:03:39 +0000 (16:03 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 7 Jun 2010 13:27:18 +0000 (14:27 +0100)
commit04c09a15f5c3a1f468cb8daf570eec3af21940ed
tree799d62a4dcf5154e0ac49c01932e0ecb5a344e91
parent911ff689ff9af626cd072fd0fc95ef33f2f722dc
ASoC: patch for the useless 'break' removal in kirkwood

This patch to remove the 'break;', when the 'switch' jumps to
the 'default' branch, the 'return -EINVAL' will be return with
a error number, so the 'break;' code never be run, it is unuseful
and should be removed here.

Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/kirkwood/kirkwood-i2s.c