summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorXiang wangx <wangxiang@cdjrlc.com>2022-05-27 20:10:59 +0800
committerTakashi Iwai <tiwai@suse.de>2022-05-27 16:57:10 +0200
commit4dd99891649ea5248e6a60113df0e0d04967eef7 (patch)
treee66d5169605abafae1052df4460de7208e42a31f /sound
parent15dad62f4bdb5dc0f0efde8181d680db9963544c (diff)
ALSA: hda/via: Delete does not require return
Void function return statements are not generally useful. Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com> Link: https://lore.kernel.org/r/20220527121059.25221-1-wangxiang@cdjrlc.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_via.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c
index 773a136161f1..a05304f340df 100644
--- a/sound/pci/hda/patch_via.c
+++ b/sound/pci/hda/patch_via.c
@@ -449,8 +449,6 @@ static void vt1708_set_pinconfig_connect(struct hda_codec *codec, hda_nid_t nid)
def_conf = def_conf & (~(AC_JACK_PORT_BOTH << 30));
snd_hda_codec_set_pincfg(codec, nid, def_conf);
}
-
- return;
}
static int vt1708_jack_detect_get(struct snd_kcontrol *kcontrol,