Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1138412imm; Wed, 26 Sep 2018 12:20:00 -0700 (PDT) X-Google-Smtp-Source: ACcGV62Sp7bPnTcvxnXZHY62ULb/JEOR6tvR+eUllf2EClzOJeBhIpLne+QqAJMC4aAgfBFqVxBu X-Received: by 2002:a17:902:8a89:: with SMTP id p9-v6mr5209007plo.183.1537989599986; Wed, 26 Sep 2018 12:19:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537989599; cv=none; d=google.com; s=arc-20160816; b=XksC6W/Ji4gxZ1GI6EBg0t5lBXkhTM2S10JyIwaKxO5QkzCGg4BN/1XkWEu/sRX+Y8 IuhZXN8GWPpdUtfMMD7r1Jgr1sjVN5SUD6nCFuNs4BKvFygLWdnNGtNu70ehgcvtKviz W3x9zRy27FNU2hjuarF56tKEAylv9AnF7HA2peThD5c9ZGSxba/YAh5I2aC9OM96/TFR dY5a2mRtw1VfpLULmpPJhGOvIj39yJX3R97bPNi5utglCvoAraRLAx3VVhUKmXMe4/DG s+egKtPZ1oQycvG3L3nCFDi6CJDicPz1iJyGvL9hsjgPm3aJDFipVVhLzDep9c0Bl7Ok d84Q== 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=HeEP8lTVz0835vo+4PoDakHzCbXDT7ugsWYPaX1mdBQ=; b=PBdsYApPSTYRvKavm5efe1qrHHfOL+8TEp/whlkdslpkjI8R5hdLPh8PrQx990p0K5 lCD0nEgFafPfys1tm4UKlJKECo8DNd1J6TBwq65zGHz6AJBPYJEzPOTu/GInO+f0VDAU xRnYEq6fUMHPCREg/QRfJSGba/guhCLmi7aA/P5+aS6KsEVBfREdcF1+JU40wAg6MJR/ 5dAcIHkdV5iPS0UkcTcLZnVW5d5uCm/HceruYaJCE2zBDhp8xM8Xl4bPuR9Riu0Eis+3 GPc3OkrwtueMuJn6DaQoG8zwms9UvYWp2LKbSY5jBtXgBD2+ihrGa3zTl+xbrhcdsh3A 8xNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=goRBR8My; 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 81-v6si5561245pfw.261.2018.09.26.12.19.45; Wed, 26 Sep 2018 12:19:59 -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=goRBR8My; 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 S1727572AbeI0BcG (ORCPT + 99 others); Wed, 26 Sep 2018 21:32:06 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:39990 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727532AbeI0BcF (ORCPT ); Wed, 26 Sep 2018 21:32:05 -0400 Received: by mail-ed1-f68.google.com with SMTP id j62-v6so2883989edd.7 for ; Wed, 26 Sep 2018 12:17:39 -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=HeEP8lTVz0835vo+4PoDakHzCbXDT7ugsWYPaX1mdBQ=; b=goRBR8Myx4Vu6NXNCJeolihuD7sli7Z27FFaRDZDtZNE7HLgHhVn06sMvV1U5v/Ijp J5lbwSCR02OZLKb+zpI2PRD/OQrV4QZEbpG7ac36hgMUc7K7D4QXaJj3RLePF04KcgTz WbUuhdHqXW/aAodDH1H8sd4j0TLaer69NOXuuUNkSPinaSDUs1qWOPaBeBOZ0d6MlPzM Rg+XPASEV+mEfDN94cgvqlWcWXRl5V/ID/J+J2nfvnBly5AEavsv9G28c8MsQ+yxrxlz 8rDKHjRF4XlOgL3l7kla/XDyqXi6IlRkEMRSfDqmVN+czRBM3jv8D39V//g6GU+FmNzB tTxA== 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=HeEP8lTVz0835vo+4PoDakHzCbXDT7ugsWYPaX1mdBQ=; b=loT766o3+e4yFKioPuma6GHNKL+ExBZvmmFf24ux+taIJUzaeqFxY5OO+FJuFg5eEY 3ljAAK3xKvIaEI/LaozvWk2Zqy+HZ87OwysZObmAxTy2cOe2gAWPMEOpe3K6BpJliOt8 1p3TYHgt1eej3Q0B3so/Q39PJeLx19LSHxkSYjsHudcIh5FNKz7gjJfwz+2l4YpdMK6x 3inhe05z49Kv36lL8XWK5oXn7BL1zx+aTji9C8RGwSKUVkciWwE+wvhCnPT4hcQ9KEqJ n+UXLcT89TGqvrDMz9Vzguqo+oCr+5KVFLlIRWYbbrvRmdSLpnoUZj/sC+L37WuNAkJt 6LQg== X-Gm-Message-State: ABuFfoj6i7nZyL/+SXTvePboeyvS8maXwQNlJDCMzH5AFEvlTbrT5h7d 9t2ZwrwIiTa5D/Q2UzfoIhUMiXKr X-Received: by 2002:a50:8f66:: with SMTP id 93-v6mr12191554edy.248.1537989458071; Wed, 26 Sep 2018 12:17:38 -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.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Sep 2018 12:17:37 -0700 (PDT) From: John Whitmore To: linux-kernel@vger.kernel.org Cc: devel@driverdev.osuosl.org, gregkh@linuxfoundation.org, John Whitmore Subject: [PATCH 11/13] staging:rtl8192u: Remove TxBFCap - Style Date: Wed, 26 Sep 2018 20:17:02 +0100 Message-Id: <20180926191704.16322-12-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 The member variable TxBFCap is not used in code so has simply been removed from the code. 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 | 3 --- 2 files changed, 6 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h b/drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h index f36fbf56c585..204e4a5495a1 100644 --- a/drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h +++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h @@ -54,9 +54,6 @@ struct ht_capability_ele { //Supported MCS set u8 MCS[16]; - //TXBF Capabilities - u8 TxBFCap[4]; - //Antenna Selection Capabilities u8 ASCap; diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c index e20488ecbd96..9188bd925262 100644 --- a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c @@ -542,9 +542,6 @@ void HTConstructCapabilityElement(struct ieee80211_device *ieee, u8 *posHTCap, u pCapELE->MCS[i] = 0; } - //TXBF Capabilities - memset(pCapELE->TxBFCap, 0, 4); - //Antenna Selection Capabilities pCapELE->ASCap = 0; //add 2 to give space for element ID and len when construct frames -- 2.18.0