aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2009-04-02 02:21:11 -0400
committerTakashi Iwai <tiwai@suse.de>2009-04-05 21:54:56 -0400
commitd54bb9f0c57e39a9a7c8ba523f2c0c1a955d8efb (patch)
tree91610a202f3f8f5d30c8f228c1f9d6d88f9d2a53
parent8321fc0113a1be0cdfc9cbad1db1de74073acd8f (diff)
ALSA: snd-atmel-ac97c: remove dead break statements after return in switch case
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/atmel/ac97c.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/atmel/ac97c.c b/sound/atmel/ac97c.c
index dd72e00e5ae1..21be9c9fbd53 100644
--- a/sound/atmel/ac97c.c
+++ b/sound/atmel/ac97c.c
@@ -312,7 +312,6 @@ static int atmel_ac97c_playback_prepare(struct snd_pcm_substream *substream)
312 default: 312 default:
313 /* TODO: support more than two channels */ 313 /* TODO: support more than two channels */
314 return -EINVAL; 314 return -EINVAL;
315 break;
316 } 315 }
317 ac97c_writel(chip, OCA, word); 316 ac97c_writel(chip, OCA, word);
318 317
@@ -374,7 +373,6 @@ static int atmel_ac97c_capture_prepare(struct snd_pcm_substream *substream)
374 default: 373 default:
375 /* TODO: support more than two channels */ 374 /* TODO: support more than two channels */
376 return -EINVAL; 375 return -EINVAL;
377 break;
378 } 376 }
379 ac97c_writel(chip, ICA, word); 377 ac97c_writel(chip, ICA, word);
380 378