Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1079782rwr; Thu, 27 Apr 2023 12:02:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5GpsP+/m+WhFtmLNZhaFE0hd+OUW39xz/rOqsdGMwfRrOGMuwi24gkCrL0FuQNlUeHWCK0 X-Received: by 2002:a05:6a20:1442:b0:f3:b7:b10a with SMTP id a2-20020a056a20144200b000f300b7b10amr3273646pzi.15.1682622178570; Thu, 27 Apr 2023 12:02:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682622178; cv=none; d=google.com; s=arc-20160816; b=eOQ3PRm6RANy/dNLFqa6j9dk8/EE1p3ETnS7RAigr//J9RQmKoZuRcw3lnXD7coN5+ xoDetMX+2I9PPf4JRwL4x+SSiqs+1BLu4o9Mv6PaMWQdoG4FK40tSUgnd/I90c2G3aru jrbXf2WybhVjxaTCbXGZd40+3W0x6j3pSK0iyQbt6575FkcxVm01f3+WUytN5arb9zXw DzaaS70wzr4EPf987FzaQNRU9SaDAJ+pi/f9mhDcLf1w74Yqw1hEfzfh6cp5F/qm1CqS mhdXEYideaRCT5EllQRMSv61tXZIERVxvIGzz2bPj1zN1UBwAgdn3+E2RDQEMVfjLyhf Z13g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Qo2n0z1mWRxNF/3yBCjKhTRw66BaFZNGEZGBhrIjzN0=; b=sQAug+RE01iH80G9RymypbHrNldmSKIkXHdwirY/zJKe/uHuDFUzJ7qaL5AvjxSIyQ cyH5uNZtSorhGY/MAwR9uDxjBDunJfl4/g67b67ln5TXU1A9+BJZh5NwnNAVohfpPpUp Xx84wfVdIs9anRdKHID9+Tz8ql2KSYFOM7ALZPtccQCYriWIasSI/B0l6axiJ5Ux6lvV CV7jgMnyiMnpEbCn/Qk4qS1qGAna3pnhp5ClzcNY6Zjf+OUvTz69qy1uXKOMaRXZagYV 8PsGbDkpTGwYznjxUe8M3Gy5sEba/esVhtuySuET3M3eG0HMDDRPVX/x8Z1kRz1kkLk0 c/lQ== 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 m189-20020a6326c6000000b00528818a4e14si5340315pgm.235.2023.04.27.12.02.46; Thu, 27 Apr 2023 12:02:58 -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 S244302AbjD0TAY (ORCPT + 99 others); Thu, 27 Apr 2023 15:00:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229539AbjD0TAX (ORCPT ); Thu, 27 Apr 2023 15:00:23 -0400 X-Greylist: delayed 358 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 27 Apr 2023 12:00:22 PDT Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1E7340C4 for ; Thu, 27 Apr 2023 12:00:22 -0700 (PDT) Received: from ipservice-092-217-081-249.092.217.pools.vodafone-ip.de ([92.217.81.249] helo=martin-debian-2.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1ps6qZ-0003Us-CY; Thu, 27 Apr 2023 21:00:03 +0200 From: Martin Kaiser 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 Date: Thu, 27 Apr 2023 20:59:36 +0200 Message-Id: <20230427185936.923777-1-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,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 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 --- 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