Message ID | b3ea8ddd16a753d9ee1ee8b99e31e990ce89133b.1702406712.git.philipp.g.hortmann@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp7913744dys; Wed, 13 Dec 2023 08:52:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IGcZFMDuaBydwRm5BEMSRUAkTubt3vqrqUJtqRQ+6a4gSTnbWdA7Xx0bcFUIFYKG8ZR+wnw X-Received: by 2002:a05:6e02:1948:b0:35d:59a2:bcc with SMTP id x8-20020a056e02194800b0035d59a20bccmr8428462ilu.98.1702486356642; Wed, 13 Dec 2023 08:52:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702486356; cv=none; d=google.com; s=arc-20160816; b=McSuykHFPccTWLIVjPPzNrWrBXxZOB7LdMUaVwgMpflzaoM8/lRIeYIJWiUD65gmDu ylb5hNsZHmrPwggbn5BMkt4quBV+2NkfC/bu5KD8z13XfYtd2oJtNJcY6lLfW02XUPrB uqtmliEHsoDAs6hG8VIZ6Md7r3pV9oaU6k7xpSWRtLM08JqWYcFOlmXwQymbC+1sAOAh Usc4MjuxZI5rkxgoJXqEwFujj3vvstBgSAICC/+uUeSYwwe390oHJ92uXrI0vHSMZFvH 8xgG7v9rCzSoQ6hXEahfq8uFwXIGF1MoT3P5B70ZrW7ooAYbXBVAazpX9K2sOcYFFFtn +5ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:to:from:date:dkim-signature; bh=QcuM1B7Nqln2T8HsY+RDMt6vNuKyn/uBt6HB0cu06wE=; fh=Sw1rtAM+hKyOoOQVYiiLzcdjc4spg79Z/tN6UmWUAKs=; b=R4XUuX761VCBATyMiAGucq6vm6hIZKdllCwP5p40YpGOAA6pKME952uKzeTpUrsGZs n1RdYZlCXxGGuoFXRk9EPzn6coCgUYq5To1T9J/ZCnHE2aC6uNrX+LFx72vmWdOyckXN G7/mnXrf7qTYB9yrEeLey5gAJdbo8MyGpJYPyzD6O1r/C7hZI5ImKt7dT3CdraI6F1jX Lqkg2oho2slrtiqd+73mEQOh9uuK1TSUIDdyntzJwsPEFy7Hh13L6BiGemSowcyZL7vB gafLFM7sp1Pg/AJNhUKORn3s8betreuwFposQqst0yjfej0RDQPXY7k5J3j//owtIMn0 LWYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="Bo/Jm7I1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id a11-20020a634d0b000000b005c621f7280csi9663676pgb.466.2023.12.13.08.52.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 08:52:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="Bo/Jm7I1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id EAFD28031134; Wed, 13 Dec 2023 08:52:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378960AbjLMQwY (ORCPT <rfc822;dexuan.linux@gmail.com> + 99 others); Wed, 13 Dec 2023 11:52:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235378AbjLMQwT (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 13 Dec 2023 11:52:19 -0500 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12FE810E for <linux-kernel@vger.kernel.org>; Wed, 13 Dec 2023 08:52:25 -0800 (PST) Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a1e25a49603so189659366b.1 for <linux-kernel@vger.kernel.org>; Wed, 13 Dec 2023 08:52:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702486343; x=1703091143; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=QcuM1B7Nqln2T8HsY+RDMt6vNuKyn/uBt6HB0cu06wE=; b=Bo/Jm7I1UxvaGeTwhVprkKb/JgtwOY2NbyN616u264wzR5MJVJxYxBfzZqbcDF6pHT r/ul0+GykSmrBWC2/C172pn994C45eoMD68eIons2RV1U4s1XVP9hAhhKXSL1WGxTBMi ooDX17sNjvxBZJtDmm+NyC9YurzSDWHmrph5ktupJkaqTjooK1aH7naMtSApgA+WzAiJ r948V+dI6M5hH8QpcJyXGaHvPJo1jV7c3shBwl0nBn8svBKLSdtHwQZjjPl7B3mVeW+H 5nhSu6wO9N1roDCE9L9gceKVjz2k2v+xGc/zpb7PDZiGflPMazgO9V5TNnnFJwne43UU k5Yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702486343; x=1703091143; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=QcuM1B7Nqln2T8HsY+RDMt6vNuKyn/uBt6HB0cu06wE=; b=a04mhCepd+pBc970HHeLqUz+CSn4PdYrMQlrEnR4FAne1T5M52vOiqzaG9hmAiUxQl 2rCU0On9JKuDUHIHSH99aK/VTHuS3O84DdZQSC3c/GYTDtFBu6Bs+XHb2K8FuwsDxOrO xzigfkmFQOfm0rzEkaGilrlgiyR9C7CZGPxQK1kldfgi+UrpG55EZxnJA6MOUtLRVJXz d/qNfPtxAqeap26yeCVyP98La/33bIS7Fd4u3gwiHpPZAbhqEX45sXyZcRhG8aT+jqPf 1QnV7kkKXngtS9ssQytGWeKqSNPozODglon2LSqoZTTRjMJgC+docSzDusWHLOqjXomo RzgQ== X-Gm-Message-State: AOJu0YxiVNMk6mmH/HEo4zmIRuktG0cj/95MnGP+VP6OAfnFmQB0gQ9K 2FLKMIF54bglT4374TmOMBo= X-Received: by 2002:a17:907:a70f:b0:a00:211c:9a9a with SMTP id vw15-20020a170907a70f00b00a00211c9a9amr9176973ejc.5.1702486343268; Wed, 13 Dec 2023 08:52:23 -0800 (PST) Received: from matrix-ESPRIMO-P710 (p54a07fa0.dip0.t-ipconnect.de. [84.160.127.160]) by smtp.gmail.com with ESMTPSA id tb19-20020a1709078b9300b00a1cd30d06d1sm8245901ejc.14.2023.12.13.08.52.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 08:52:23 -0800 (PST) Date: Wed, 13 Dec 2023 17:52:21 +0100 From: Philipp Hortmann <philipp.g.hortmann@gmail.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 06/10] staging: rtl8192e: Remove unused variable ht_info->amsdu_support Message-ID: <b3ea8ddd16a753d9ee1ee8b99e31e990ce89133b.1702406712.git.philipp.g.hortmann@gmail.com> References: <cover.1702406712.git.philipp.g.hortmann@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <cover.1702406712.git.philipp.g.hortmann@gmail.com> X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 13 Dec 2023 08:52:34 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785186334244074917 X-GMAIL-MSGID: 1785186334244074917 |
Series |
staging: rtl8192e: Remove variable nMaxAMSDUSize and further
|
|
Commit Message
Philipp Hortmann
Dec. 13, 2023, 4:52 p.m. UTC
Remove unused variable ht_info->amsdu_support.
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
---
drivers/staging/rtl8192e/rtl819x_HT.h | 1 -
drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 --
2 files changed, 3 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h index e6cd906dc0ac..c4af9968cd67 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -101,7 +101,6 @@ struct rt_hi_throughput { struct ht_capab_ele SelfHTCap; u8 PeerHTCapBuf[32]; u8 PeerHTInfoBuf[32]; - u8 amsdu_support; u8 ampdu_enable; u8 current_ampdu_enable; u8 ampdu_factor; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c index 578d9276035f..044bfe44d213 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -71,8 +71,6 @@ void ht_update_default_setting(struct rtllib_device *ieee) { struct rt_hi_throughput *ht_info = ieee->ht_info; - ht_info->amsdu_support = 0; - ht_info->ampdu_enable = 1; ht_info->ampdu_factor = 2; ht_info->mpdu_density = 0;