Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1138357imm; Wed, 26 Sep 2018 12:19:57 -0700 (PDT) X-Google-Smtp-Source: ACcGV63HudkHgMoM6n0e5aIjITjz8sVdhVyM4owhAZan3yJGp/txQ7D/K8n5k5mbhZdfAoTvLbKk X-Received: by 2002:a17:902:2f84:: with SMTP id t4-v6mr7482251plb.87.1537989597210; Wed, 26 Sep 2018 12:19:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537989597; cv=none; d=google.com; s=arc-20160816; b=ZfzRpTHGCiwock7BgdyiI5z4XgwOtX9xIv4m67N6yHzRwcnv0Nt3c7AsS3DlcB3ini yS3IiR65Tlqv1YuF896M7j/XAFMenwaDNZs5NqwwaR0/7WsNJowWDFEQ8Qtrmb/Yo7Vy gIzRc/kS8htdmYoP+iUqQVsCrAH60N6tb9ZZsShYaLvU67PqPhwPGH4K49yjKHjLeJWv nxIHnyB48aRsGZSJP6ChCwR3WBZHrWLhdI9Z+G1y7QAjzXKeqKRRbMOnQFZO/Xfp4L3c ZCOrLv2ymjlSi6SaauKwUMbsGpEqp8zJSH/fgDHUMCR9SEdZ6F7JCv/k2HZfqfKcwlmk sOVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=jvZ4B3Rc8jP1bZrJCiifd85smN7yybyprzKc5bUSjY8=; b=kX47GkPx+ZVq6fz5o4Zk+ztNP5bN68+c1xcfjuv9tGUga+1Fa4/JMn8K3E8RmahWVi j7wNRK18WS22UfDEBWRUyNPx6+DVPGr7MvTBkCGtHKGboMIVI7xYPnLgKJBJTxscisoD FjqHibM16OhqAP+AGa/NU1FYTAE1nER9ilFq/HEEReXny0VbVD0LFE6svGfjk51D7ifs 7uqUld2vL6nLx22b/kUuR/mmpPdQEZiT3JwbIrEpQFB1o/Mj0RbdAjC3SDBPfnIXE5y+ u32xo3RVDlW+uAhqXa6Zdu/VfjztgPHHdOZAhcooG2ZMoelWSpLd6Ud7PX55O6K768OL WutA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mK2Sogxi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t62-v6si931116pfd.133.2018.09.26.12.19.42; Wed, 26 Sep 2018 12:19:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mK2Sogxi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727478AbeI0BcA (ORCPT + 99 others); Wed, 26 Sep 2018 21:32:00 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:42884 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726978AbeI0Bb7 (ORCPT ); Wed, 26 Sep 2018 21:31:59 -0400 Received: by mail-ed1-f68.google.com with SMTP id b20-v6so2877263edr.9 for ; Wed, 26 Sep 2018 12:17:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=jvZ4B3Rc8jP1bZrJCiifd85smN7yybyprzKc5bUSjY8=; b=mK2SogxiDPaC66au9f9Psz/UqykXHPEO+OPsD7iyi3DyZlCs0Zo8UgYKrq/C61l5DI l+5aNWFHNM/siCOPJaDCYXZSQgtWTb3CayqR3xUF/8kClvG0jZgDJ48I4ag6KGK5YlDU nfFVhCVPY6zlEvIaBYvDLActW7L4IXpvqGLY9/+dswayVZVowQSelQBU2WhPrUnkJBT2 DW94zxcdzdkKI8opEWax4pqLdaKJC3GIFZImndEZ5Y1zRNgKd15irwWLwaFJfKzttF+P KburAK7iNonWhgVFzHp5/SgibKCCT2lUJ8RCidEVIyE5HL0IeGezxCsp/1pVLESZm2to JY/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=jvZ4B3Rc8jP1bZrJCiifd85smN7yybyprzKc5bUSjY8=; b=FaBSwh5j55QpX2Ca5v/IZnEb5j4GfKnigNN7J8HBPdpNKpaghdvWALjd8+RAv0tyXI w4neeA8+8Y5snW9+IrnOMVtpHenlM8dEVIn98i1Q/4g8zNSs/VzxJVUM2VAogiVJAWfc jBHVtkP8jT7moEyaWzvBRf/nAtNR7caj0uOIvqrVmk9uIzwZE+qoo7ytyuFWpDzpVCmg uPkNPbQg3QQDY0FgStn2LRYxB1CYp5T4LFnV4C0JkfeOLlj/7DHM8ySpetz8mLl4rsy+ sb/nxEspxXajv3cZgC17LFVTse/lRV/phfjN/92ZhHnuDX264YQt/xALAmcD2o6ajq00 gn8w== X-Gm-Message-State: ABuFfogxfwKiRgFLma7lrazKmcCuDQiUZiyjJHZaBgZ+ZBrKxL7N0eIa NioRqqdGa9IsyipK0vykt/NP6hSe X-Received: by 2002:a50:93c5:: with SMTP id o63-v6mr11853938eda.154.1537989451845; Wed, 26 Sep 2018 12:17:31 -0700 (PDT) Received: from localhost.localdomain ([109.78.196.57]) by smtp.gmail.com with ESMTPSA id k13-v6sm91417eda.72.2018.09.26.12.17.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Sep 2018 12:17:31 -0700 (PDT) From: John Whitmore To: linux-kernel@vger.kernel.org Cc: devel@driverdev.osuosl.org, gregkh@linuxfoundation.org, John Whitmore Subject: [PATCH 07/13] staging:rtl8192u: Remove DelayBA, PSMP and Rsvd1 - Style Date: Wed, 26 Sep 2018 20:16:58 +0100 Message-Id: <20180926191704.16322-8-johnfwhitmore@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180926191704.16322-1-johnfwhitmore@gmail.com> References: <20180926191704.16322-1-johnfwhitmore@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the unused member variables DelayBA, PSMP and Rsvd1. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h | 3 --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 2 -- 2 files changed, 5 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h b/drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h index 52cce0dcf9a5..09596a7a6814 100644 --- a/drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h +++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h @@ -43,11 +43,8 @@ struct ht_capability_ele { u8 MimoPwrSave:2; u8 ShortGI20Mhz:1; u8 ShortGI40Mhz:1; - u8 DelayBA:1; u8 MaxAMSDUSize:1; u8 DssCCk:1; - u8 PSMP:1; - u8 Rsvd1:1; u8 LSigTxopProtect:1; //MAC HT parameters info diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c index b4220df1f833..94cedf5f1163 100644 --- a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c @@ -503,10 +503,8 @@ void HTConstructCapabilityElement(struct ieee80211_device *ieee, u8 *posHTCap, u pCapELE->ShortGI40Mhz = 1; // We can receive Short GI!! //DbgPrint("TX HT cap/info ele BW=%d SG20=%d SG40=%d\n\r", //pCapELE->ChlWidth, pCapELE->ShortGI20Mhz, pCapELE->ShortGI40Mhz); - pCapELE->DelayBA = 0; // Do not support now!! pCapELE->MaxAMSDUSize = (MAX_RECEIVE_BUFFER_SIZE >= 7935) ? 1 : 0; pCapELE->DssCCk = ((pHT->bRegBW40MHz) ? (pHT->bRegSuppCCK ? 1 : 0) : 0); - pCapELE->PSMP = 0; // Do not support now!! pCapELE->LSigTxopProtect = 0; // Do not support now!! /* -- 2.18.0