From patchwork Sun Jan 8 18:57:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 40545 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1818967wrt; Sun, 8 Jan 2023 11:08:49 -0800 (PST) X-Google-Smtp-Source: AMrXdXsOGTKY3X0QdwYgO02JcCU/XmHGJN6f/NaXrF9ib6GjbRr/tZpvRw7D6eeAC2mJxskMo50n X-Received: by 2002:a05:6a20:1e5a:b0:9d:efbf:48d7 with SMTP id cy26-20020a056a201e5a00b0009defbf48d7mr67942035pzb.27.1673204928746; Sun, 08 Jan 2023 11:08:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673204928; cv=none; d=google.com; s=arc-20160816; b=QFc5Z23PIEMHauVmRDW/ZhvzlQZgxwJOj3NSwuV6Hv+byra93sL8YDjfbLgY3ZS6lf PONpq67JFFIzooBoyD0zh+PEyy77J+J+1l5flGDX6I6eJ1jFz55ImXOZe18m3u91GEkY ibQ6BvHdaojYpzGugA5wXD7HgLbWWbs9hH+hN+Xz2jRZ0ShPaYcGW+Mx8zN9Hrat2l7x YoXWM5bldPuSFMo9MVAZk/xQBMnTg632hFeqNq9OXMGTzH9nzbo5zjGx1FEXyWoEw4Fp TMsTPy4nawvwUHmDfg1bcuJxrAmBtLHwtXq+NXm1SyhyYlDV5t+870Pifsola3NZbJnV 8ejA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i1-20020a636d01000000b004776765cf3csi7994373pgc.605.2023.01.08.11.08.36; Sun, 08 Jan 2023 11:08:48 -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 + 99 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 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?1754482531655950467?= X-GMAIL-MSGID: =?utf-8?q?1754482531655950467?= 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 */