From patchwork Mon Jul 3 18:40:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 9823815 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 8D170604D9 for ; Mon, 3 Jul 2017 18:41:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 820DB2856D for ; Mon, 3 Jul 2017 18:41:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 769EA285F2; Mon, 3 Jul 2017 18:41:02 +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 169A42856D for ; Mon, 3 Jul 2017 18:41:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754297AbdGCSlA (ORCPT ); Mon, 3 Jul 2017 14:41:00 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:35722 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754188AbdGCSky (ORCPT ); Mon, 3 Jul 2017 14:40:54 -0400 Received: by mail-oi0-f68.google.com with SMTP id l130so20125486oib.2 for ; Mon, 03 Jul 2017 11:40:54 -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=6L3SnMuu5t/6FQBA2XpoEEs+m7jQfBA4INcImlw3kHo=; b=V0FPa9JlF/1+cHCS3noS94R5EL7C675CYGMZBf6+ChxsIxiDc83hAfZUzQw+Bg5a9V dbNt6E2VU2zL7mKK6SKqW+IIoUm4jpslrpNU0bRQen1Lit+6cV95qs6yShR7tK8n54Iw QR9WH32HWncwuE2hBwsXcR2tSS8D1TgZEXMkqtXtFN2Tu+XU5ZTOaPKuwQC19bR9NIT8 7ZGfRsfUxI8A74uzXYsmmuR9+Q42Mv9s0Lh7NrcMCapjb6WhA3yXzPOuKPauFRudVrS/ Mgq8LD0z9dB8KQHolnh6xDK2yODRukOVVoyHTo8soHxwjyZ6eT7eF00XnbGiIK+k7zM5 gJvg== 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=6L3SnMuu5t/6FQBA2XpoEEs+m7jQfBA4INcImlw3kHo=; b=Lanjvp8+AT571gv9C6KM85xEw25nZZbUuwP/qf24vXBbzGgA09mJUEBjwzNfLICMF1 z1Q++bNi0orOQ8AHUxOkEtrsm4tOQUOITB0Acw8LpE06hTvBgTdb7pxye7LGBfjNhVYa Z7Ew+7hpF+ZC/BYE7Zqjv0bC0t5tRWR568/iNT9kC9ke/Me/sXT6//0RQuMEGVLZ6crj kqkAHizq9WmXCXgHkel3WyBLx6T2XCO6+qz+mw4yQgdvtK+pDpA3Jl4hZMXbSk9w4Uif s3qK3oPN2q7dS2DCkxIs5eKRLhFZ6bAHYeB3h+KVDJjHGmkvXhguBlAQWOnnGK9F4MjX SzJw== X-Gm-Message-State: AKS2vOzoM1CD34CWUhS8MBLPwpawEtrrxNtm0cXvRx8fQWq810XPgsia kFNSnRbZHFMy8g== X-Received: by 10.202.206.8 with SMTP id e8mr19714938oig.45.1499107253637; Mon, 03 Jul 2017 11:40:53 -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 o2sm14641309oik.16.2017.07.03.11.40.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Jul 2017 11:40:53 -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 09/11] rtlwifi: Remove BAND_NUM and related fields Date: Mon, 3 Jul 2017 13:40:36 -0500 Message-Id: <20170703184038.24669-10-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20170703184038.24669-1-Larry.Finger@lwfinger.net> References: <20170703184038.24669-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 --- 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;