Message ID | 20221230180646.91008-13-martin@kaiser.cx |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3009066wrt; Fri, 30 Dec 2022 10:09:41 -0800 (PST) X-Google-Smtp-Source: AMrXdXv1r7N0dRn9BcGeWO5N0xs2rZos7Ih7NHUzqzJd9yE1WPmuSx20pDUb4jZhrol55U5ddTir X-Received: by 2002:a17:903:1306:b0:192:5ec4:c439 with SMTP id iy6-20020a170903130600b001925ec4c439mr26414853plb.16.1672423781587; Fri, 30 Dec 2022 10:09:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672423781; cv=none; d=google.com; s=arc-20160816; b=yzmkMfRUbvSWXtkA6Qo62IN6OQ3cAtLH+/IH1biTQHuQRo1kS2r0dqJo86pcNU10J8 1vRqHHqiPnNFXVWi2pe2uunqsXpN4Kzwt4wPiVRo4PiOjhzrGiJNC1x/3CS+M7iGD1KE YuJNWTgsqk6IHlKUbZ6Znnpe7jdstqGZv3gZJF6OJo6TZd6NwP635yfddUVE9MNu1x0b AaEOY0artRcJ6Vr10mFvEOcvpnzn1vjy2vlCN3Bdb9I4TFjkisb+QjZsKE5fkm1rh/FC VT7TYzAmDu3sm0GJi7mAXB04S+/YKf9xQzpkgJ86WylMfIfCLdl3IMks9CUPY6OH0xev /MZQ== 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=X55gndd/0Q9CLm2qifGiPV7rz4wuiVHqhHVe73yz9gE=; b=h4HmF7rfGoLz3BQCH2wAjoUuq6hwBcsDlmG7c4OFIB8gXJ4+s6dS6k1X/BuFOpjlwv J2tGuQF8W1nVoastD8Dl4s+6U8O7sTPh7NLNaq27DqSns+HALwNkAaCYOMlp1h1/FmX0 +lH/68HHeWGUknoF0fmY8vPhifKgu1O7AymlYz4bo6qKoYks7MI2shJLLyetJTT/IZAs y66i90G7TocBsMFSoUWMLILffeNkVEfnJNwITGWfN3jY5Fe5HfoYqDNNQ944QE1zcWno cDDQPRP3l3U+OaHzZHQRLezyCUlmGgbB1/mUhaUDVSWJOCk8/wrpMJ9x9ZonOLjFaBGg Mv1w== 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 u9-20020a170902b28900b00186a8bd137fsi21664046plr.453.2022.12.30.10.09.29; Fri, 30 Dec 2022 10:09:41 -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 S235519AbiL3SHv (ORCPT <rfc822;cscallsign@gmail.com> + 99 others); Fri, 30 Dec 2022 13:07:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235456AbiL3SHY (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 30 Dec 2022 13:07:24 -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 9B1F61C904 for <linux-kernel@vger.kernel.org>; Fri, 30 Dec 2022 10:07:20 -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 <martin@kaiser.cx>) id 1pBJml-0004rR-JM; Fri, 30 Dec 2022 19:07:15 +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 12/20] staging: r8188eu: remove unused bpending array Date: Fri, 30 Dec 2022 19:06:38 +0100 Message-Id: <20221230180646.91008-13-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: <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?1753663439436324786?= X-GMAIL-MSGID: =?utf-8?q?1753663439436324786?= |
Series |
staging: r8188eu: some xmit cleanups
|
|
Commit Message
Martin Kaiser
Dec. 30, 2022, 6:06 p.m. UTC
The bpending array in struct xmit_buf is unused. Remove it.
(struct xmit_buf is not part of the interface between the kernel driver and
the device's firmware. It's safe to remove components from this struct.)
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
---
drivers/staging/r8188eu/include/rtw_xmit.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/r8188eu/include/rtw_xmit.h b/drivers/staging/r8188eu/include/rtw_xmit.h index 6e7ebea5362d..b017f9293f86 100644 --- a/drivers/staging/r8188eu/include/rtw_xmit.h +++ b/drivers/staging/r8188eu/include/rtw_xmit.h @@ -203,7 +203,6 @@ struct xmit_buf { u32 ff_hwaddr; struct urb *pxmit_urb; dma_addr_t dma_transfer_addr; /* (in) dma addr for transfer_buffer */ - u8 bpending[8]; int last[8]; };