From patchwork Mon Jan 23 20:53:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 47414 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1828471wrn; Mon, 23 Jan 2023 13:42:46 -0800 (PST) X-Google-Smtp-Source: AMrXdXt9EYF8e9PbypC12FJJjgYOpW2yjSKVBxEoaFlpy1DcXvTn77TdNbX8N92RT6gup7YaDAqd X-Received: by 2002:a05:6a20:ba92:b0:b8:c300:c813 with SMTP id fb18-20020a056a20ba9200b000b8c300c813mr25295800pzb.12.1674510166382; Mon, 23 Jan 2023 13:42:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674510166; cv=none; d=google.com; s=arc-20160816; b=NKgFVf3978BGrJQdb4/XP4TpKDgO/NjMEGZkpB11LSPSVINJ7yyL/ZtzWySZGnV5Tw DS/Yp7i/TvFlLLL8wsP1e+Qh/YA0aSMq8FXS+v5jhjW8KoP4tz2EDwlNZUp9fQZgGupY yEyUIWBzvmWKdcNQOmgt4VXTMo8CWl4Z2pS5Kk63Kpw/Mt3uBzVTDUng4QOUZpoQvLF9 Roop6w1yWIQ5ckVF5ZsI4ujNfSLzKrbpLE1q+fUiYoAmU91dnRIbDomDWK2L42l3V02l Tr+OEuD3hnc2OtMZiNddafabfeJy5AnMwjGvZK7MR1K179wrhRbPAXtBuRepGVJ9ebdn tqSA== 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=YaNpcS8ounPrUOM8MZXKZc7hKIoaiEe4a85PkH0uxOQ=; b=JFn7MisBFs+G/X9Sioo4takign4LOB1t9TlmLCVvqCGVetByNYW33c7CqjGrZvOcPk fIgW+Eqdey7bUvLcZ5mHO7DdmqZdH0O1UH+9G1bySVHCV6CEd1vQnWsvGnx71Y0BqVe6 11xidxzXG0oxWBUkyCGI5QcHJ0WhqQEaiAdZl8VS/XnlaaU8Ro8s0F+IOo+Y68ejmeFW 09ZuAM4AFLPKLVJ9sh6cmj6D7w8kb0GpGrQ/fLbpWV/6Bbdt7X8h7Ed+kzRz11obIIcs /akdZDr51GToLK8n3PQr5i1nPE2TBzDPf14fkNOuoz0xUDizxmHe1DOkmdRFOW54LwY0 hffA== 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 z19-20020a62d113000000b0058daeba6fcesi144639pfg.307.2023.01.23.13.42.32; Mon, 23 Jan 2023 13:42:46 -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 S232747AbjAWU7H (ORCPT + 99 others); Mon, 23 Jan 2023 15:59:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232745AbjAWU6u (ORCPT ); Mon, 23 Jan 2023 15:58:50 -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 E02413802D for ; Mon, 23 Jan 2023 12:58:29 -0800 (PST) Received: from ipservice-092-217-089-134.092.217.pools.vodafone-ip.de ([92.217.89.134] 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 1pK3pT-0000Lk-W6; Mon, 23 Jan 2023 21:54:12 +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 21/23] staging: r8188eu: struct agg_pkt_info is unused Date: Mon, 23 Jan 2023 21:53:40 +0100 Message-Id: <20230123205342.229589-22-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230123205342.229589-1-martin@kaiser.cx> References: <20230123205342.229589-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?1755851171881049244?= X-GMAIL-MSGID: =?utf-8?q?1755851171881049244?= struct agg_pkt_info is not used in the r8188eu driver. Remove it. Signed-off-by: Martin Kaiser --- drivers/staging/r8188eu/include/rtw_xmit.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/staging/r8188eu/include/rtw_xmit.h b/drivers/staging/r8188eu/include/rtw_xmit.h index 4aa7833487c8..548d2cfb88ec 100644 --- a/drivers/staging/r8188eu/include/rtw_xmit.h +++ b/drivers/staging/r8188eu/include/rtw_xmit.h @@ -250,11 +250,6 @@ struct hw_txqueue { int ac_tag; }; -struct agg_pkt_info { - u16 offset; - u16 pkt_len; -}; - struct xmit_priv { spinlock_t lock; struct list_head be_pending;