Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp5256150rwl; Sun, 8 Jan 2023 11:25:40 -0800 (PST) X-Google-Smtp-Source: AMrXdXt+VCEkzEilNiFOdSBi4cBCOlrYHuPpkYz1bfLUa/NvZ+eN5zCV0sfUzLDlQNloBjvFk9Fn X-Received: by 2002:a17:906:f0ca:b0:84d:3e5b:7c02 with SMTP id dk10-20020a170906f0ca00b0084d3e5b7c02mr2409036ejb.22.1673205939878; Sun, 08 Jan 2023 11:25:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673205939; cv=none; d=google.com; s=arc-20160816; b=z/l6G81LCW3IMimdFYW+9NywtrgcUZ8xXKQ8vfkSArPPej0dgvFWM6Z5vFrZXNbrNU rfFQK/BC4NN72xTPy/VKmmPRKONmiWpgiy0wSgE6GjWsFYs3DrhjWf3KicICSsQMuQyu wBL4VbVi3E+a2+HZ1zWgF2Sqy86C+/PM62REchfwDK4+RzA5Xltha9qp9ap8O25dYeZm P+t5wYceVoMvJDYd/XA9RsR9zP47YH+lYl40bPIV0sV6HepO2QV+sm5qUbebIYygGpIB rB5uGk8J3Tyt2Ah+X1TOBgSIw7mNo/y2juzhPVIsWGTKS0zZ54gcBDyPynSeYrCDjtyT eDjQ== 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=8vWQjTzm22O7iAga3cSFZ8jnabS+zthzUpWQ5codcZA=; b=Ol5Z2ik7pNGrRluDi89jE0bzDnnbsFy/YG1f+FSg+IdyzxBOraLhm08D3oiS8XOvh2 WnZjpiFy4X/Mwp2XkiIHLhI/aYOjKDVpbYE16w0Ad5fKde6ldShJIXNOhXVc8S5Xm8aI b1xBdCq9SKZlUrApOy996UQlCNcrgkXGxTtnTD4+dEHLC4Vvs57lBVukkWo4n5DGZuXr whSWErqYfg0BI1DsWu3rAjHOO71qP+l8ckDBngQqPPqgj2z//ND/99ADFU/Y4wsyW5Sr Vtuna9epZBGih00DPXVu6hS9PHkEYiB9Wgnd7dkDgDg1wUw0ED6tC9vBFYj27odlIjRt xStA== 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 sg34-20020a170907a42200b007acc6769292si7601004ejc.365.2023.01.08.11.25.28; Sun, 08 Jan 2023 11:25:39 -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 S236719AbjAHS67 (ORCPT + 51 others); Sun, 8 Jan 2023 13:58:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236284AbjAHS6I (ORCPT ); Sun, 8 Jan 2023 13:58:08 -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 F3442E02E for ; Sun, 8 Jan 2023 10:58:06 -0800 (PST) Received: from dslb-188-096-147-053.188.096.pools.vodafone-ip.de ([188.96.147.53] 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 1pEarp-0003b8-Ep; Sun, 08 Jan 2023 19:58:01 +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 13/13] staging: r8188eu: xmit_priv's vcs_setting is not used Date: Sun, 8 Jan 2023 19:57:38 +0100 Message-Id: <20230108185738.597105-14-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230108185738.597105-1-martin@kaiser.cx> References: <20230108185738.597105-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 vcs_setting in struct xmit_priv is not used any more. We can remove it. Signed-off-by: Martin Kaiser --- drivers/staging/r8188eu/include/rtw_xmit.h | 1 - drivers/staging/r8188eu/os_dep/os_intfs.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/staging/r8188eu/include/rtw_xmit.h b/drivers/staging/r8188eu/include/rtw_xmit.h index abac0103b53a..cc32167fb4dc 100644 --- a/drivers/staging/r8188eu/include/rtw_xmit.h +++ b/drivers/staging/r8188eu/include/rtw_xmit.h @@ -267,7 +267,6 @@ struct xmit_priv { struct __queue free_xmit_queue; uint frag_len; struct adapter *adapter; - u8 vcs_setting; u64 tx_bytes; u64 tx_pkts; u64 tx_drop; diff --git a/drivers/staging/r8188eu/os_dep/os_intfs.c b/drivers/staging/r8188eu/os_dep/os_intfs.c index f022f6b1cf3e..cfc24420e70c 100644 --- a/drivers/staging/r8188eu/os_dep/os_intfs.c +++ b/drivers/staging/r8188eu/os_dep/os_intfs.c @@ -392,7 +392,6 @@ static void rtw_init_default_value(struct adapter *padapter) struct security_priv *psecuritypriv = &padapter->securitypriv; /* xmit_priv */ - pxmitpriv->vcs_setting = pregistrypriv->vrtl_carrier_sense; pxmitpriv->frag_len = pregistrypriv->frag_thresh; /* mlme_priv */ -- 2.30.2