Commit 1519c84c authored by zuoqilin's avatar zuoqilin Committed by Takashi Iwai

sound/oss/dmasound: Remove superfluous "break"

Remove superfluous "break", as there is a "return" before them.
Signed-off-by: default avatarzuoqilin <zuoqilin@yulong.com>
Link: https://lore.kernel.org/r/20210527030445.1201-1-zuoqilin1@163.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 08e767cd
...@@ -1229,31 +1229,22 @@ static char *get_afmt_string(int afmt) ...@@ -1229,31 +1229,22 @@ static char *get_afmt_string(int afmt)
switch(afmt) { switch(afmt) {
case AFMT_MU_LAW: case AFMT_MU_LAW:
return "mu-law"; return "mu-law";
break;
case AFMT_A_LAW: case AFMT_A_LAW:
return "A-law"; return "A-law";
break;
case AFMT_U8: case AFMT_U8:
return "unsigned 8 bit"; return "unsigned 8 bit";
break;
case AFMT_S8: case AFMT_S8:
return "signed 8 bit"; return "signed 8 bit";
break;
case AFMT_S16_BE: case AFMT_S16_BE:
return "signed 16 bit BE"; return "signed 16 bit BE";
break;
case AFMT_U16_BE: case AFMT_U16_BE:
return "unsigned 16 bit BE"; return "unsigned 16 bit BE";
break;
case AFMT_S16_LE: case AFMT_S16_LE:
return "signed 16 bit LE"; return "signed 16 bit LE";
break;
case AFMT_U16_LE: case AFMT_U16_LE:
return "unsigned 16 bit LE"; return "unsigned 16 bit LE";
break;
case 0: case 0:
return "format not set" ; return "format not set" ;
break ;
default: default:
break ; break ;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment