Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1386092rwr; Thu, 27 Apr 2023 17:23:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ56hTs4/PkWBHezhSNow1Dpxl4eMY/JEXbSVYJhyjQo974zy7pMTdpMWgzOE1MNx6qehpm7 X-Received: by 2002:a17:90a:ee45:b0:246:d185:bd7c with SMTP id bu5-20020a17090aee4500b00246d185bd7cmr4466116pjb.5.1682641435011; Thu, 27 Apr 2023 17:23:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682641434; cv=none; d=google.com; s=arc-20160816; b=Nnvy2vjwG3pLWTz7jjzvzIQbMzn5wDRVPyvVeoX+/meCtFHHSS6ItyxDtZHIuWzseb I+6oHk34GatXeplwyyoCm8gJnzBK1OEjWsqsbrZ0yBf0RPqoiyzKrzD7/YkCm/wdO0EJ KD2Z3THqsCEGpG4qm2JrWiqBmKmfdUzv1j7shYFa2crTQWwGxQPBxk8QAeTYsm6rflDI 74GOKcMlRCwiB0RWlNrxt/sFE2yB4LHUIRVBgik3FoHHUAA5J3HaTrtZ1XR8ZI3uGc8w 4Hz5Z8YAd7fBnO2/Pu9w17QvXDi6FZpoUA2okzrQNtkT9kDd8STjUB7xLkjWkHwT3ICO DSXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=0eZU8pIdGrQEBCi1L1PQ9fbLDHO43kpq//eJw2W1a5Y=; b=g2wxxLZbamXM+uZ5eexE2CYc4WbpBB45g0vgnL05biRlBMWxEBfj3nifWqBynua7mK T6CgGAc/0zzwV9wPUIBNKfTl3J754P/FM0D7MqHEocDw/SNqkgOw+EcszvW0P61RbiL9 Vz/+iMskpr3OqGDQndol2hjQKPixPWyWp07b6+Sk0TPwWPEyZLOGfQsIH7mIUwU+ny4r ffLBCw+4EV9KgzT4zMtGFomZ5fgMZq34un0VsztR/xeDoUvDCGAwFsPBmjsjGkqlxLNB 9znE7tbL53Ybw/SDo8cIBFo5NOGD6qxZuF4qJeFJI0ezVbKhyigGlHe9walCGEbTQ5ov 5qaw== 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:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n13-20020a6546cd000000b0051b31338860si19613718pgr.542.2023.04.27.17.23.42; Thu, 27 Apr 2023 17:23:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344285AbjD1AXE convert rfc822-to-8bit (ORCPT + 99 others); Thu, 27 Apr 2023 20:23:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343716AbjD1AXD (ORCPT ); Thu, 27 Apr 2023 20:23:03 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBF0CE65; Thu, 27 Apr 2023 17:22:58 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 33S0MLmD4004117, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 33S0MLmD4004117 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK); Fri, 28 Apr 2023 08:22:21 +0800 Received: from RTEXMBS06.realtek.com.tw (172.21.6.99) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Fri, 28 Apr 2023 08:22:23 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS06.realtek.com.tw (172.21.6.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Fri, 28 Apr 2023 08:22:23 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d]) by RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d%5]) with mapi id 15.01.2375.007; Fri, 28 Apr 2023 08:22:23 +0800 From: Ping-Ke Shih To: Martin Kaiser , Jes Sorensen , Kalle Valo , "David S. Miller" , "Eric Dumazet" , Jakub Kicinski , Paolo Abeni CC: "linux-wireless@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] wifi: rtl8xxxu: (trivial) remove unnecessary return Thread-Topic: [PATCH] wifi: rtl8xxxu: (trivial) remove unnecessary return Thread-Index: AQHZeTvAQ7/UWm//bUGU0T04vRyWxq8/3How Date: Fri, 28 Apr 2023 00:22:23 +0000 Message-ID: References: <20230427185936.923777-1-martin@kaiser.cx> In-Reply-To: <20230427185936.923777-1-martin@kaiser.cx> Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.69.188] x-kse-serverinfo: RTEXMBS06.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 > -----Original Message----- > From: Martin Kaiser > Sent: Friday, April 28, 2023 3:00 AM > To: Jes Sorensen ; Kalle Valo ; David S. Miller > ; Eric Dumazet ; Jakub Kicinski ; Paolo Abeni > > Cc: Martin Kaiser ; linux-wireless@vger.kernel.org; netdev@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: [PATCH] wifi: rtl8xxxu: (trivial) remove unnecessary return > > Remove a return statement at the end of a void function. > > This fixes a checkpatch warning. > > WARNING: void function return statements are not generally useful > 6206: FILE: ./drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:6206: > + return; > +} > > Signed-off-by: Martin Kaiser Reviewed-by: Ping-Ke Shih > --- > drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c > b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c > index fd8c8c6d53d6..7e7bb11231e3 100644 > --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c > +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c > @@ -6281,7 +6281,6 @@ static void rtl8xxxu_rx_complete(struct urb *urb) > cleanup: > usb_free_urb(urb); > dev_kfree_skb(skb); > - return; > } > > static int rtl8xxxu_submit_rx_urb(struct rtl8xxxu_priv *priv, > -- > 2.30.2