projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8321fc0
)
ALSA: snd-atmel-ac97c: remove dead break statements after return in switch case
author
Hans-Christian Egtvedt
<hans-christian.egtvedt@atmel.com>
Thu, 2 Apr 2009 06:21:11 +0000
(08:21 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 6 Apr 2009 01:54:56 +0000
(
03:54
+0200)
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/atmel/ac97c.c
patch
|
blob
|
history
diff --git
a/sound/atmel/ac97c.c
b/sound/atmel/ac97c.c
index dd72e00e5ae1c6209bf6a4ab0230ad53b85a0d50..21be9c9fbd530750b118d2dca8c5962c787fb3c0 100644
(file)
--- 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);