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>
This commit is contained in:
parent
8321fc0113
commit
d54bb9f0c5
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue