From patchwork Mon Jul 17 15:09:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 9845441 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3A10060386 for ; Mon, 17 Jul 2017 15:10:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D40528429 for ; Mon, 17 Jul 2017 15:10:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 225E2284E3; Mon, 17 Jul 2017 15:10:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F93628429 for ; Mon, 17 Jul 2017 15:10:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751386AbdGQPKZ (ORCPT ); Mon, 17 Jul 2017 11:10:25 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:36230 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751286AbdGQPKM (ORCPT ); Mon, 17 Jul 2017 11:10:12 -0400 Received: by mail-oi0-f67.google.com with SMTP id n2so18150809oig.3 for ; Mon, 17 Jul 2017 08:10:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=JTTPWzf87k9+S89+T7TQILTc1eMFghPXC6BwYigTx+8=; b=LYf6gZttBKblRB5z90f9uShgGLCgXQs2yXn7luI+gbew7i6Uq4xUS0OtCpVIX+SpnJ iZ1+yplPsi3pg1fMdsFwpz1/RG0Ryl0Yy4/HCRd4ZNsh9D/F0G+j9/PWftEEE1LJELEk XOzWS6eR02FwU4wS5dEP3GdzQFyJWDQpens17wy/B9oLsBBX1x9BY7fSk6gCbRLBqgPc 6Hfz+sbygKLHB5QMH6j3GwhvrdepmeANUGtV+oPSNJUYA56MZ5Bz3MMKMqKREYCdULP8 3c11flTUiV1HLzeRTXmxAqlfG4csaW9zrad6nwp8W2cOgn+z7ieCXeMtfKNuNA/o5iCF NPQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=JTTPWzf87k9+S89+T7TQILTc1eMFghPXC6BwYigTx+8=; b=QzT4yIQNmuVIV3Hfztg335mGHyLej+Z2XKmaJqaEJq7vyOsDgFQYGKBkw8IbFKzcBw gEvQW+prIDMTUe34DFLeuDkR5+xGMgaucXaeDP5bdLj429yE2PgXCDmX+gZDk/H8CWUv C8PtkDgJB1GOtWZzFds8vSBZw+yfBXYI40R3Lo24iWxV2/bbpWkDAlJdkV4fWyiubpvO kRBpYV8D3msxtLYuApX+Ckk6J8DlUPr4mcLlChsXbSte26IYMsfkGcWitWCqusvBYR00 OLvJUMAo7m2piD3wOlZhqXdDXe+GFbo3U3KvEmg0W/A+h8OOek793Qa+4OpS93/y4Z90 gyxA== X-Gm-Message-State: AIVw111yABLi5102I9C1x3AYJjBxwCHEW7MK3clYVM6Bn6X2yH4ZIiBq uEJbjpQ1JbZs1g== X-Received: by 10.202.1.80 with SMTP id 77mr2537371oib.180.1500304211548; Mon, 17 Jul 2017 08:10:11 -0700 (PDT) Received: from linux-4v1g.suse (cpe-24-31-249-175.kc.res.rr.com. [24.31.249.175]) by smtp.gmail.com with ESMTPSA id p65sm29370656oie.8.2017.07.17.08.10.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Jul 2017 08:10:11 -0700 (PDT) From: Larry Finger To: kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org, Ping-Ke Shih , Larry Finger , Yan-Hsuan Chuang , Birming Chiu , Shaofu , Steven Ting Subject: [PATCH v2 09/11] rtlwifi: Remove BAND_NUM and related fields Date: Mon, 17 Jul 2017 10:09:52 -0500 Message-Id: <20170717150954.1441-10-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20170717150954.1441-1-Larry.Finger@lwfinger.net> References: <20170717150954.1441-1-Larry.Finger@lwfinger.net> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ping-Ke Shih These fields are unused, and we will define them in phydm later. Signed-off-by: Ping-Ke Shih Signed-off-by: Larry Finger Cc: Yan-Hsuan Chuang Cc: Birming Chiu Cc: Shaofu Cc: Steven Ting --- v2 - no changes --- drivers/net/wireless/realtek/rtlwifi/wifi.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/wifi.h b/drivers/net/wireless/realtek/rtlwifi/wifi.h index 4dbce5f4c2db..9e1914bf014d 100644 --- a/drivers/net/wireless/realtek/rtlwifi/wifi.h +++ b/drivers/net/wireless/realtek/rtlwifi/wifi.h @@ -172,7 +172,6 @@ enum rtl8192c_h2c_cmd { #define BUFDESC_SEG_NUM 1 /* 0:2 seg, 1: 4 seg, 2: 8 seg */ #define DEL_SW_IDX_SZ 30 -#define BAND_NUM 3 /* For now, it's just for 8192ee * but not OK yet, keep it 0 @@ -1748,21 +1747,6 @@ struct rtl_dm { s8 swing_diff_2g; s8 swing_diff_5g; - u8 delta_swing_table_idx_24gccka_p[DEL_SW_IDX_SZ]; - u8 delta_swing_table_idx_24gccka_n[DEL_SW_IDX_SZ]; - u8 delta_swing_table_idx_24gcckb_p[DEL_SW_IDX_SZ]; - u8 delta_swing_table_idx_24gcckb_n[DEL_SW_IDX_SZ]; - u8 delta_swing_table_idx_24ga_p[DEL_SW_IDX_SZ]; - u8 delta_swing_table_idx_24ga_n[DEL_SW_IDX_SZ]; - u8 delta_swing_table_idx_24gb_p[DEL_SW_IDX_SZ]; - u8 delta_swing_table_idx_24gb_n[DEL_SW_IDX_SZ]; - u8 delta_swing_table_idx_5ga_p[BAND_NUM][DEL_SW_IDX_SZ]; - u8 delta_swing_table_idx_5ga_n[BAND_NUM][DEL_SW_IDX_SZ]; - u8 delta_swing_table_idx_5gb_p[BAND_NUM][DEL_SW_IDX_SZ]; - u8 delta_swing_table_idx_5gb_n[BAND_NUM][DEL_SW_IDX_SZ]; - u8 delta_swing_table_idx_24ga_p_8188e[DEL_SW_IDX_SZ]; - u8 delta_swing_table_idx_24ga_n_8188e[DEL_SW_IDX_SZ]; - /* DMSP */ bool supp_phymode_switch;