Message ID | 20230123205342.229589-8-martin@kaiser.cx |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1811054wrn; Mon, 23 Jan 2023 12:56:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXsNNApFSp2JTsH4+90DiPMg+F5HPaZprLMkH56IVKcnTQWM1lXNJHqBLsWBlKIYPEwXyJjT X-Received: by 2002:a17:907:1dcd:b0:877:6288:eff2 with SMTP id og13-20020a1709071dcd00b008776288eff2mr21541381ejc.75.1674507379134; Mon, 23 Jan 2023 12:56:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674507379; cv=none; d=google.com; s=arc-20160816; b=EY29JH1HvhwBCii2dOFPZpe1atJt5r2t8RqPx2EzYNQB5ja8SpKCZkyXgSwhPhdrzu MAR+LmILEEACTycpkTl6raGcX54ztl5woL0jB01F4vpf+gkHkbSp8porMton75fE5gqu SF50MqRiF+Y+I2HNYU+mSm4vP5XAFEsg/8eVWDArfNIGfnxcnH7oK8EBFu+4DLdxwA1b plITfodDUDfAx1jdtAT44UjoqU3lyjhGk3R+k0JW5OqtGqkaXo8eLdH7HEofl/gMFYh0 u4ACMAO1cL+1u3rrZ4TLmetUXrbXpibbA8l9pVplc9L+GEu2pZXGpwPLfq5zjLxWSogS O9Sg== 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=hIkdKqS972q1zcaiTOY1eWd5AbJsS+GWW9kMH/hcKBQ=; b=XLglrD+AeaXecwI8ZJxmOxs23ORgA4ATsZgDSzV1EWXx6KneCnk3hGIqo8y05j6wiB VkQObjG7Kw2kOnLKlVoJ7bLceZqDaDQrclfMtxtQxXGo7P3BggN9TjmzdolZDPAbirwJ jElBaJBRQE1JX2dHAMCX9CWAF9UHPxbVP7PimanG4s7rEPQ23FyS73Q59pIHlcT2UOE/ nsWc7ABx2NMSGbr2tt7EdAdoMPKUyGt6zWukyGLmFCGhwvxBQQHgTF9GEJvkt6YypPrG N6LP36SN3u5CO3fnizWC27ahJguLq+WDBqCvwOsPfXBSv7PFg69fe4QUAovTltS0vrJ0 7/DQ== 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 nd12-20020a170907628c00b007c14665652esi31508943ejc.299.2023.01.23.12.55.54; Mon, 23 Jan 2023 12:56:19 -0800 (PST) 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 S232196AbjAWUyX (ORCPT <rfc822;rust.linux@gmail.com> + 99 others); Mon, 23 Jan 2023 15:54:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231855AbjAWUyH (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 23 Jan 2023 15:54:07 -0500 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 A0EEA3525A for <linux-kernel@vger.kernel.org>; Mon, 23 Jan 2023 12:54:06 -0800 (PST) Received: from ipservice-092-217-089-134.092.217.pools.vodafone-ip.de ([92.217.89.134] 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 1pK3pI-0000Lk-Pl; Mon, 23 Jan 2023 21:54:00 +0100 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 07/23] staging: r8188eu: remove an obsolete comment Date: Mon, 23 Jan 2023 21:53:26 +0100 Message-Id: <20230123205342.229589-8-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230123205342.229589-1-martin@kaiser.cx> References: <20230123205342.229589-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?1755848249567916826?= X-GMAIL-MSGID: =?utf-8?q?1755848249567916826?= |
Series |
staging: r8188eu: some more xmit cleanups
|
|
Commit Message
Martin Kaiser
Jan. 23, 2023, 8:53 p.m. UTC
Remove an obsolete comment in rtw_dequeue_xframe. There is no break
statement any more.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
---
drivers/staging/r8188eu/core/rtw_xmit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/r8188eu/core/rtw_xmit.c b/drivers/staging/r8188eu/core/rtw_xmit.c index 30bc9405356d..a431bffbccf2 100644 --- a/drivers/staging/r8188eu/core/rtw_xmit.c +++ b/drivers/staging/r8188eu/core/rtw_xmit.c @@ -1408,7 +1408,7 @@ struct xmit_frame *rtw_dequeue_xframe(struct xmit_priv *pxmitpriv, struct hw_xmi phwxmit->accnt--; /* Remove sta node when there are no pending packets. */ - if (list_empty(&pframe_queue->queue)) /* must be done after get_next and before break */ + if (list_empty(&pframe_queue->queue)) list_del_init(&ptxservq->tx_pending); goto exit; }