Message ID | 20221024081417.66441-16-martin@kaiser.cx |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp317732wru; Mon, 24 Oct 2022 01:19:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5St+jY/1w8i8BdEGB42mMpeEFn/hTgo1iSVZG68FhY7L6g3MjdbpS7QzKPtNDhNhuo0zgo X-Received: by 2002:a05:6402:27cd:b0:45c:db6f:7e77 with SMTP id c13-20020a05640227cd00b0045cdb6f7e77mr30290781ede.149.1666599599100; Mon, 24 Oct 2022 01:19:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666599599; cv=none; d=google.com; s=arc-20160816; b=CL+tv7/uGJi0gD3WwVnBXmX+/rJ3W8/LLJWDEhP4wyD0dnPfrb3A0Gh05CKqhon3Q4 n7kOBESu7fjHU3C85B1co/vUdRptPP92dWdrFhlprZSb1M1ShiR3iZ0FZ+1vu/TX6JRr oVi5LLJk/EwCROKnEZZlqkrHjgTEYuDoQFFrDdVaTfWL7QrjeC5czLlJgaWYyTS77178 V/hfDveK5fDneL0+dABBUdXRuT/9QI7fHzM5xL+T0m/9UnTEly0pkw7F5KjJW/yA0/AW AP+qyxPam2/aTnUrjwKKoCRNOeWCncoQ9zjyIGj9DdecbszuIlgsfl5vupBAHtKs5Bt3 2tZg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=0jeHLya9i1OKGbraGLx3APqV8wwSbJpFywce7jcr7YU=; b=DPTmocDniacZwbT+YbHgQLBHWPJgZnbK+9UZLiFt8yxTwAxtVS5fl48FPcnauB0osV oFE0z/MxoRFIeLFsxU+mMYYjCMebF5aYLCqqooj9DKB9HrbdAbfM7DRRbz1gU83QnXBf ZWQZPQ2ZiWazbtFsL9/8rkEs7kKP6ld7wxWB4sDLiazVfGL3mjKNy0KtsrKuiLeA5qvs RTxIGjgoDIQxUXwXL56BMemN4wZBW7Wmg2PjI6F2D76ZNLCFNcQWRcXRWhoXatyeTfG9 aQytrMfV2q8roIlPhJ+Qw9OyJ8lKcs3EZBZS8ROW+l/ujr20DpJ2LNbz+o7GARr7EQLb /b4A== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mf4-20020a170906cb8400b0078e1cd71067si24037999ejb.205.2022.10.24.01.19.35; Mon, 24 Oct 2022 01:19:59 -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 S229718AbiJXIQO (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Mon, 24 Oct 2022 04:16:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230226AbiJXIPs (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 24 Oct 2022 04:15:48 -0400 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 083C82EF16 for <linux-kernel@vger.kernel.org>; Mon, 24 Oct 2022 01:14:48 -0700 (PDT) Received: from ipservice-092-217-079-032.092.217.pools.vodafone-ip.de ([92.217.79.32] 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 <martin@kaiser.cx>) id 1omsba-0000nk-QG; Mon, 24 Oct 2022 10:14:42 +0200 From: Martin Kaiser <martin@kaiser.cx> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Larry Finger <Larry.Finger@lwfinger.net>, Phillip Potter <phil@philpotter.co.uk>, Michael Straube <straube.linux@gmail.com>, Pavel Skripkin <paskripkin@gmail.com>, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Martin Kaiser <martin@kaiser.cx> Subject: [PATCH 15/17] staging: r8188eu: remove unnecessary return Date: Mon, 24 Oct 2022 10:14:15 +0200 Message-Id: <20221024081417.66441-16-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221024081417.66441-1-martin@kaiser.cx> References: <20221024081417.66441-1-martin@kaiser.cx> 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 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747556341221443530?= X-GMAIL-MSGID: =?utf-8?q?1747556341221443530?= |
Series |
staging: r8188eu: clean up mlme handlers
|
|
Commit Message
Martin Kaiser
Oct. 24, 2022, 8:14 a.m. UTC
Remove a return statement at the end of a function.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
---
drivers/staging/r8188eu/core/rtw_mlme_ext.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/staging/r8188eu/core/rtw_mlme_ext.c b/drivers/staging/r8188eu/core/rtw_mlme_ext.c index 3c6ea9912d7f..7120e015d1bd 100644 --- a/drivers/staging/r8188eu/core/rtw_mlme_ext.c +++ b/drivers/staging/r8188eu/core/rtw_mlme_ext.c @@ -852,10 +852,8 @@ static void OnAuthClient(struct adapter *padapter, struct recv_frame *precv_fram return; } - if (go2asoc) { + if (go2asoc) start_clnt_assoc(padapter); - return; - } } static void UpdateBrateTbl(u8 *mbrate)