Skip to content

Commit

Permalink
ALSA: snd-atmel-ac97c: remove dead break statements after return in s…
Browse files Browse the repository at this point in the history
…witch case

Signed-off-by: Hans-Christian Egtvedt <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
Hans-Christian Egtvedt authored and tiwai committed Apr 6, 2009
1 parent 8321fc0 commit d54bb9f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sound/atmel/ac97c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit d54bb9f

Please sign in to comment.