Skip to contentSkip to conversation

ALSA: hda/via: Delete does not require return

PATCH Applied Xiang wangx 2 participants 2 messages May 27, 2022 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: hda/via: Delete does not require return

Void function return statements are not generally useful.

---
 sound/pci/hda/patch_via.c | 2 --
 1 file changed, 2 deletions(-)
sound/pci/hda/patch_via.c +0 -2
index 773a136161f1..a05304f340df 100644
@@ -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,
Signature · 1 line
2.36.1