Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp2438831ioo; Sat, 28 May 2022 13:43:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhkMxO/i14dl+62BUj+GtIJeyFQ0xC6lkm4rPxvp9TAU0WVPMp/bWsJibmCzb8XsNxJpQS X-Received: by 2002:a62:15ca:0:b0:518:2bd1:aa65 with SMTP id 193-20020a6215ca000000b005182bd1aa65mr49195868pfv.78.1653770627269; Sat, 28 May 2022 13:43:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653770627; cv=none; d=google.com; s=arc-20160816; b=WkldOZZHy+E2oPU0znlOD8YmvDj2Fs77qzbdeCQTiXqxWiL3/O6pVB81+kfyqZD1LV jFbDvCF/YiaoUH33rgNnlHJdyJcPvf/1hZQxHcAQ+w1vZFVES6qUts7Te5H0egq7lTvE uPq9qYNqk5NxA1eSrBvbv84WbGF3cxMboF+inrzHruyBnGIuk80HDLdiUfvl4rTvu/2j /66596h/k+HRo/4IVvbUHrtyeiNhxIQpDsRK7B7WnxvqQ8Zzo/i5qGJMPt2DgNSYh2nO BNrnQrFEm3dxQRbPy+oYchqgpsniZ2qiVRNQp0A0/z+BWq+Q55M8VyVhTUXHeRdhpTTd jrYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=LNY+q10V3vV2gfXgnh39LmnjhfbUxMnGqAJHiksYTUI=; b=imt4+t46fagmtsXOD5L/kVSLKnWOzWtbYpOUF1JitPJZUnvYESUhhB3JnAvHjVYKCb gizdt1kON9JKnqg4WP8oB4JCJGk+cfpkCbGNBKniqBuax6ryBJP8WJfLhSQhq5LHSFYL /tP7oWZ6yqr90G2PxDJpUEtezDt5AwhO8qoFrfkF5C5xt4b6w9nQge8H3GmPky6Bc2ju a779+h5p80PDjk9mqMXtfKP22Ulnva6o0Staeuxi2GjJNFrBgG45JGw8vUOYl7y0YX5z YrfgEimJ3jDrWJjgUIo8JpQuNstbq8nHPX9nmEAzTMietRhZHz/m7mT1HrgB3+YEeRSv 4evw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id a65-20020a639044000000b003fae815a76fsi10578812pge.352.2022.05.28.13.43.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 May 2022 13:43:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7252815D2DC; Sat, 28 May 2022 12:43:25 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352643AbiE0Mcg (ORCPT + 99 others); Fri, 27 May 2022 08:32:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353256AbiE0McX (ORCPT ); Fri, 27 May 2022 08:32:23 -0400 Received: from smtpbg.qq.com (smtpbg138.qq.com [106.55.201.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 591CB18C062 for ; Fri, 27 May 2022 05:12:25 -0700 (PDT) X-QQ-mid: bizesmtp74t1653653517tiv7vzps Received: from localhost.localdomain ( [182.148.13.40]) by bizesmtp.qq.com (ESMTP) with id ; Fri, 27 May 2022 20:11:40 +0800 (CST) X-QQ-SSF: 01000000002000B0G000000A0000000 X-QQ-FEAT: RKCwGdK8Yfi2eFJ32OTXHJX7Mf5yNB5Ebft1FvL5LJRKtQWC4ZGmyFAmQ0teK 3lfRqetO0rebxgVX0jLKj8ICp3PiK4KesjiP6RTztZRjzc65a+muY5yOsdZI3TY404toRI3 n5bFIYdbXgaHn+BLAFDFXdmpSDnMgiHYwer4O2ectEhEH/N3awrvJ9jR3of30tzDLcqOxYy SZBFgOBLPM6N9rbK1842vr8JrMaC3NcshCiwTMki5IPVqdFQ8ccZGsUn+k7NktrLlloyvrT MX836PLxb6HnusVvvNIZHT5q31BojLMlwfyWBnjXqQxXoJUy5ROUfVf093VONsFxiebQXGm 18PK4KI5DzNJgloBAo= X-QQ-GoodBg: 0 From: Xiang wangx To: perex@perex.cz Cc: tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Xiang wangx Subject: [PATCH] ALSA: hda/via: Delete does not require return Date: Fri, 27 May 2022 20:10:59 +0800 Message-Id: <20220527121059.25221-1-wangxiang@cdjrlc.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybgspam:qybgspam10 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Void function return statements are not generally useful. Signed-off-by: Xiang wangx --- 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