diff options
author | Wan ZongShun <mcuos.com@gmail.com> | 2010-06-02 16:03:39 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-06-07 14:27:18 +0100 |
commit | 04c09a15f5c3a1f468cb8daf570eec3af21940ed (patch) | |
tree | 799d62a4dcf5154e0ac49c01932e0ecb5a344e91 /sound/soc/kirkwood/kirkwood-i2s.c | |
parent | 911ff689ff9af626cd072fd0fc95ef33f2f722dc (diff) | |
download | talos-op-linux-04c09a15f5c3a1f468cb8daf570eec3af21940ed.tar.gz talos-op-linux-04c09a15f5c3a1f468cb8daf570eec3af21940ed.zip |
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>
Diffstat (limited to 'sound/soc/kirkwood/kirkwood-i2s.c')
-rw-r--r-- | sound/soc/kirkwood/kirkwood-i2s.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/kirkwood/kirkwood-i2s.c b/sound/soc/kirkwood/kirkwood-i2s.c index 0adc59778d5a..0fdc7db7a469 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; |