summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorzuoqilin <zuoqilin@yulong.com>2021-05-27 11:04:45 +0800
committerTakashi Iwai <tiwai@suse.de>2021-05-27 08:24:23 +0200
commit1519c84c0592f22e6ee9c7a7bce3032a0915e93f (patch)
treed58b75762e14fd3f067212bfbac68e7c011d17e1 /sound
parent08e767cd9e8b6682cfc4fba630ec2e46f13e99e0 (diff)
sound/oss/dmasound: Remove superfluous "break"
Remove superfluous "break", as there is a "return" before them. Signed-off-by: zuoqilin <zuoqilin@yulong.com> Link: https://lore.kernel.org/r/20210527030445.1201-1-zuoqilin1@163.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/oss/dmasound/dmasound_core.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sound/oss/dmasound/dmasound_core.c b/sound/oss/dmasound/dmasound_core.c
index 22cef0c778b1..0c95828ac0b1 100644
--- a/sound/oss/dmasound/dmasound_core.c
+++ b/sound/oss/dmasound/dmasound_core.c
@@ -1229,31 +1229,22 @@ static char *get_afmt_string(int afmt)
switch(afmt) {
case AFMT_MU_LAW:
return "mu-law";
- break;
case AFMT_A_LAW:
return "A-law";
- break;
case AFMT_U8:
return "unsigned 8 bit";
- break;
case AFMT_S8:
return "signed 8 bit";
- break;
case AFMT_S16_BE:
return "signed 16 bit BE";
- break;
case AFMT_U16_BE:
return "unsigned 16 bit BE";
- break;
case AFMT_S16_LE:
return "signed 16 bit LE";
- break;
case AFMT_U16_LE:
return "unsigned 16 bit LE";
- break;
case 0:
return "format not set" ;
- break ;
default:
break ;
}