From patchwork Mon Jan 23 20:53:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 47398 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1811872wrn; Mon, 23 Jan 2023 12:58:55 -0800 (PST) X-Google-Smtp-Source: AMrXdXsWkil3e36uUaVUnKAWMPZY9RlDjSnkIgN0+x9ZwGhiV6W04/QxmVXo3Q6fpBR0iuX2pT+w X-Received: by 2002:a17:902:f28a:b0:194:8c76:42dd with SMTP id k10-20020a170902f28a00b001948c7642ddmr22584746plc.19.1674507535593; Mon, 23 Jan 2023 12:58:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674507535; cv=none; d=google.com; s=arc-20160816; b=FdmSOBcyTLFRsfGgTAtQGzizWXS/roivjsUDZAMKbRfGYYzdalVPnKtyNOHBCyH0KY efRbe+NW3ZO0zt7qko5SS/seRMKJwe/mwM7x0LRzt4OW6b3Jvsic+EMyUbviQ8wGsw0q gpj9LC7otg4ZlIQN5qIVWUAycm47PmFuaB5Btzwg4akS0lZVv43zbdk/ha10GvUivZBq cJc8vWktYqpfyQg80eXx/6yXZb2W76DV2xQ23iF+XKCpRBO3ICnaFGSCiKyoHsOoLolE JfEOR7QQWsrXG+IhXYi+KgQqHZI1MAUWofc+qtR7ODYYcKwVcoGw+uT2wtjG7T8/1hXG m9Wg== 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=hrhlsSxiUAWOX8/CHFVJQnptMtV8ma5+evrG6vkefL0=; b=cQvTm5HzGx/8mwqu+QXzi4hfFkkaBK86N0JCh7SlZhEUL1c4gF5GKJygXossMhAiw1 dlhYYNjAWnFz+BC6KuGEOfAomfj46tnZCQjC0qUzuDnyeg6oyTxk8c9+O0TgiXDHmNUf RvLuE4GkRKFEvuhsQSLeszs/SvT6qanW7gJ6fUgSuAGLn4njzkjatBJbE5buBYY8Bg2T gxmqZxrDDD/fdOB6gb3Oe/MKSK98hYqxD2FBRz0s1eQrL4TCy4Hei53o95M1L4Fz9Djf IeNxUu/DikDpliSEw9GiOUFBeMl8Jr3bxI6ygkIdg6qyWtVdJUzDm0ynGlVUcmr1Eezw /WZA== 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 e11-20020a17090301cb00b001867ea919bdsi484553plh.25.2023.01.23.12.58.43; Mon, 23 Jan 2023 12:58:55 -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 S232360AbjAWU62 (ORCPT + 99 others); Mon, 23 Jan 2023 15:58:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232315AbjAWU6Y (ORCPT ); Mon, 23 Jan 2023 15:58: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 8FBB33864D for ; Mon, 23 Jan 2023 12:58:02 -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 1pK3pU-0000Lk-OM; 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 22/23] staging: r8188eu: apsd_setting is unused Date: Mon, 23 Jan 2023 21:53:41 +0100 Message-Id: <20230123205342.229589-23-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?1755848413757146399?= X-GMAIL-MSGID: =?utf-8?q?1755848413757146399?= apsd_setting in struct tx_servq is not used, it can be removed. Signed-off-by: Martin Kaiser --- drivers/staging/r8188eu/include/rtw_xmit.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/r8188eu/include/rtw_xmit.h b/drivers/staging/r8188eu/include/rtw_xmit.h index 548d2cfb88ec..33c3031de2c4 100644 --- a/drivers/staging/r8188eu/include/rtw_xmit.h +++ b/drivers/staging/r8188eu/include/rtw_xmit.h @@ -228,8 +228,6 @@ struct tx_servq { struct sta_xmit_priv { spinlock_t lock; int option; - int apsd_setting; /* When bit mask is on, the associated edca - * queue supports APSD. */ struct tx_servq be_q; /* priority == 0,3 */ struct tx_servq bk_q; /* priority == 1,2 */ struct tx_servq vi_q; /* priority == 4,5 */