[alsa-devel] [PATCH v2 2/9] snd-atmel-ac97c: remove dead break statements after return in switch case
Hans-Christian Egtvedt
hans-christian.egtvedt at atmel.com
Thu Apr 2 08:21:11 CEST 2009
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt at atmel.com>
---
sound/atmel/ac97c.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/sound/atmel/ac97c.c b/sound/atmel/ac97c.c
index dd72e00..21be9c9 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)
default:
/* TODO: support more than two channels */
return -EINVAL;
- break;
}
ac97c_writel(chip, OCA, word);
@@ -374,7 +373,6 @@ static int atmel_ac97c_capture_prepare(struct snd_pcm_substream *substream)
default:
/* TODO: support more than two channels */
return -EINVAL;
- break;
}
ac97c_writel(chip, ICA, word);
--
1.5.6.3
More information about the Alsa-devel
mailing list