From: Xiang wangx <wangxiang@cdjrlc.com> To: perex@perex.cz Cc: tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Xiang wangx <wangxiang@cdjrlc.com> Subject: [PATCH] ALSA: hda/via: Delete does not require return Date: Fri, 27 May 2022 20:10:59 +0800 [thread overview] Message-ID: <20220527121059.25221-1-wangxiang@cdjrlc.com> (raw) Void function return statements are not generally useful. Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com> --- sound/pci/hda/patch_via.c | 2 -- 1 file changed, 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, -- 2.36.1
WARNING: multiple messages have this Message-ID (diff)
From: Xiang wangx <wangxiang@cdjrlc.com> To: perex@perex.cz Cc: alsa-devel@alsa-project.org, Xiang wangx <wangxiang@cdjrlc.com>, tiwai@suse.com, linux-kernel@vger.kernel.org Subject: [PATCH] ALSA: hda/via: Delete does not require return Date: Fri, 27 May 2022 20:10:59 +0800 [thread overview] Message-ID: <20220527121059.25221-1-wangxiang@cdjrlc.com> (raw) Void function return statements are not generally useful. Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com> --- sound/pci/hda/patch_via.c | 2 -- 1 file changed, 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, -- 2.36.1
next reply other threads:[~2022-05-27 12:32 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-05-27 12:10 Xiang wangx [this message] 2022-05-27 12:10 ` [PATCH] ALSA: hda/via: Delete does not require return Xiang wangx 2022-05-27 14:57 ` Takashi Iwai 2022-05-27 14:57 ` Takashi Iwai
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220527121059.25221-1-wangxiang@cdjrlc.com \ --to=wangxiang@cdjrlc.com \ --cc=alsa-devel@alsa-project.org \ --cc=linux-kernel@vger.kernel.org \ --cc=perex@perex.cz \ --cc=tiwai@suse.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.