summaryrefslogtreecommitdiff
path: root/sound/atmel/ac97c.c
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2009-04-02 08:21:11 +0200
committerTakashi Iwai <tiwai@suse.de>2009-04-06 03:54:56 +0200
commitd54bb9f0c57e39a9a7c8ba523f2c0c1a955d8efb (patch)
tree91610a202f3f8f5d30c8f228c1f9d6d88f9d2a53 /sound/atmel/ac97c.c
parent8321fc0113a1be0cdfc9cbad1db1de74073acd8f (diff)
downloadkernel-common-d54bb9f0c57e39a9a7c8ba523f2c0c1a955d8efb.tar.gz
kernel-common-d54bb9f0c57e39a9a7c8ba523f2c0c1a955d8efb.tar.bz2
kernel-common-d54bb9f0c57e39a9a7c8ba523f2c0c1a955d8efb.zip
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>
Diffstat (limited to 'sound/atmel/ac97c.c')
-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)
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);