From patchwork Fri Dec 30 18:06:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 37744 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3009166wrt; Fri, 30 Dec 2022 10:09:57 -0800 (PST) X-Google-Smtp-Source: AMrXdXt+Lubuwv9Lx/MMyVc096IFcunLy7ozYW6pRFZietJtUwMu81877a8eaxuzXgWtvxryE5gH X-Received: by 2002:a05:6a20:1455:b0:ae:661c:5553 with SMTP id a21-20020a056a20145500b000ae661c5553mr49445400pzi.4.1672423796667; Fri, 30 Dec 2022 10:09:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672423796; cv=none; d=google.com; s=arc-20160816; b=slxGP4JzCPJG1M1Crq9qtZEwcPtB+XbTt+FSHqfWbIwQ1rueBna6Dd+8sdwvoep3wh 8pmAuvgIENEOl9JgmOoYboFyVd+gT2TvvpIhs7x2i1H5D1A+oB6ly66bv3xJSl6Ln+an tKjAAKFsSA+ivLd+4If1qJbRA0JpvpPZ9oOos7biEs/UPM3c5vabFUzePVI6M3Jovk3p TxqmvabQ6RL1/yWUpqy43W0VW/UZghyAohy7jwR6emVT9/bthFQ4bo5XM6vibcEc7nZ1 sntmuvv9oP/sB2g1EAKDnNoLA7nkW7OJQo+HDg5kngWDg5pXQ5lQ9bP/4Duit/so+Xhm /5xg== 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=Fd5DdCMdy3e/d7+HgP1D/2alDHJE/5IFzTddicy151k=; b=Zmjq/gbCQT7S9ml+zGyi31qKtB+6bmnz6fRM0qsANHkhDU6aNeAK5Qk9IcTlS7aI1T aEdn3mYoi0/SjRQffx1OvfeCqoIOajfQGB95g5Ns5BHo7czlKoSfyamJq45LKy4+fUzQ H5S9v5vrReLTBYdJMYphnGR/pmJx8waqJ1IQG0fvAY+lHgGuMshKblN9Z2EavAsGH0mU AIEoYRmm6osL7WkbqJkUZqm6Qb1SG9U3/lljcd5UhtOBg5VXeBVcZpoUlVN8GJ0jH9XS dCiE1s7HbVeiPCIblW4KFbJP5v7R9nxcte+GUG/+1GiGDM2/uUbDwNpwHcarfePPGSph 3rDw== 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 m10-20020a63f60a000000b004779bfce4ccsi23684907pgh.452.2022.12.30.10.09.44; Fri, 30 Dec 2022 10:09:56 -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 S235130AbiL3SIE (ORCPT + 99 others); Fri, 30 Dec 2022 13:08:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235482AbiL3SHh (ORCPT ); Fri, 30 Dec 2022 13:07:37 -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 D68761C915 for ; Fri, 30 Dec 2022 10:07:22 -0800 (PST) Received: from dslb-188-097-208-179.188.097.pools.vodafone-ip.de ([188.97.208.179] 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 1pBJmn-0004rR-6j; Fri, 30 Dec 2022 19:07:17 +0100 From: Martin Kaiser To: Greg Kroah-Hartman Cc: Larry Finger , Phillip Potter , Michael Straube , Pavel Skripkin , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH 14/20] staging: r8188eu: bm_pending is not used Date: Fri, 30 Dec 2022 19:06:40 +0100 Message-Id: <20221230180646.91008-15-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221230180646.91008-1-martin@kaiser.cx> References: <20221230180646.91008-1-martin@kaiser.cx> MIME-Version: 1.0 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753663454830040182?= X-GMAIL-MSGID: =?utf-8?q?1753663454830040182?= The bm_pending queue in struct xmit_priv is initialised but not used. It can be removed. Signed-off-by: Martin Kaiser --- drivers/staging/r8188eu/core/rtw_xmit.c | 1 - drivers/staging/r8188eu/include/rtw_xmit.h | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/staging/r8188eu/core/rtw_xmit.c b/drivers/staging/r8188eu/core/rtw_xmit.c index bf4bb1e66985..a3dccfa4d843 100644 --- a/drivers/staging/r8188eu/core/rtw_xmit.c +++ b/drivers/staging/r8188eu/core/rtw_xmit.c @@ -81,7 +81,6 @@ int _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter) rtw_init_queue(&pxmitpriv->bk_pending); rtw_init_queue(&pxmitpriv->vi_pending); rtw_init_queue(&pxmitpriv->vo_pending); - rtw_init_queue(&pxmitpriv->bm_pending); rtw_init_queue(&pxmitpriv->free_xmit_queue); diff --git a/drivers/staging/r8188eu/include/rtw_xmit.h b/drivers/staging/r8188eu/include/rtw_xmit.h index 1c4fbdf97a12..83638dede6e7 100644 --- a/drivers/staging/r8188eu/include/rtw_xmit.h +++ b/drivers/staging/r8188eu/include/rtw_xmit.h @@ -262,7 +262,6 @@ struct xmit_priv { struct __queue bk_pending; struct __queue vi_pending; struct __queue vo_pending; - struct __queue bm_pending; u8 *pallocated_frame_buf; u8 *pxmit_frame_buf; uint free_xmitframe_cnt;