Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7579626rwl; Fri, 30 Dec 2022 10:32:00 -0800 (PST) X-Google-Smtp-Source: AMrXdXuw6irlFED/vlCpasL1RVtN0XQwjTDg+tJpMvs8olLEzt8VUuTDcmKMVnqE0zpAggN3tu42 X-Received: by 2002:a17:902:ab1a:b0:192:9924:ce7e with SMTP id ik26-20020a170902ab1a00b001929924ce7emr8488824plb.55.1672425120133; Fri, 30 Dec 2022 10:32:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672425120; cv=none; d=google.com; s=arc-20160816; b=VeaCRNqjV74Bbo5BL6NAHLCnsOy72EVSogUIFD6oCdp5NRH4DPwa7tL4oU9TuilNut fieqC2CfdKPbcnPzJAjfjkqZIIK7LuwugD19q78eFj57cwqKaMDvAtSjiIi/5t7KaT/0 FdTA76kxEtlTN72lS0widRazRXIzMkC3KMPCRDU+4ooyaVVKSC/HDXYa2DXlb5iy0WJa jvC7u4onyM1a0HIKMRnFvcd0omHEJuG+gen95cmp/oyCCwv+VhbARSZo3EErbCxl5qW/ 0Qf9SYrxpzgj8IZ3hVWjVRwUGv2neGh3wk7Q8s5wDMMcnWh+lKZ9E0PsG5m52IsrYnQ8 jc6g== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cp7-20020a170902e78700b00189feee4923si20973710plb.534.2022.12.30.10.31.50; Fri, 30 Dec 2022 10:32:00 -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 + 63 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 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: X-Mailing-List: linux-kernel@vger.kernel.org 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; -- 2.30.2