From: Wan ZongShun Date: Wed, 2 Jun 2010 08:03:39 +0000 (+0800) Subject: ASoC: patch for the useless 'break' removal in kirkwood X-Git-Tag: v3.0~832^2~32^2~713^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04c09a15f5c3a1f468cb8daf570eec3af21940ed;p=platform%2Fkernel%2Flinux-amlogic.git 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 Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/kirkwood/kirkwood-i2s.c b/sound/soc/kirkwood/kirkwood-i2s.c index 0adc597..0fdc7db 100644 --- a/sound/soc/kirkwood/kirkwood-i2s.c +++ b/sound/soc/kirkwood/kirkwood-i2s.c @@ -296,7 +296,6 @@ static int kirkwood_i2s_rec_trigger(struct snd_pcm_substream *substream, default: return -EINVAL; - break; } return 0;