Commit 4cae37fa98f4d50778161ec033122444e3c10a01
1 parent
330f28f691
Exists in
master
and in
4 other branches
ASoC: Remove dead code and labels
Remove the dead code and labels "card_err" in the error paths of some codec drivers. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Showing 5 changed files with 0 additions and 25 deletions Side-by-side Diff
sound/soc/codecs/ad1836.c
... | ... | @@ -387,11 +387,6 @@ |
387 | 387 | snd_soc_dapm_add_routes(codec, audio_paths, ARRAY_SIZE(audio_paths)); |
388 | 388 | snd_soc_dapm_new_widgets(codec); |
389 | 389 | |
390 | - return ret; | |
391 | - | |
392 | -card_err: | |
393 | - snd_soc_free_pcms(socdev); | |
394 | - snd_soc_dapm_free(socdev); | |
395 | 390 | pcm_err: |
396 | 391 | return ret; |
397 | 392 | } |
sound/soc/codecs/ad1938.c
sound/soc/codecs/cx20442.c
sound/soc/codecs/wm8400.c
sound/soc/codecs/wm8900.c