From patchwork Fri Sep 29 19:47:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 9978593 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 00D216037F for ; Fri, 29 Sep 2017 19:48:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E788F298AD for ; Fri, 29 Sep 2017 19:48:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DCA59298B1; Fri, 29 Sep 2017 19:48:23 +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=-4.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID, URIBL_BLACK 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 7F149298AF for ; Fri, 29 Sep 2017 19:48:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752564AbdI2TsR (ORCPT ); Fri, 29 Sep 2017 15:48:17 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:36503 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752557AbdI2TsP (ORCPT ); Fri, 29 Sep 2017 15:48:15 -0400 Received: by mail-oi0-f68.google.com with SMTP id a74so288447oib.3 for ; Fri, 29 Sep 2017 12:48:15 -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=cBk5T/KZMCsgq86jMRSAomEpiB6EQ+oabvYmkQJe8dg=; b=ijOpydKJijNBqJbd/hXVKWUqtb6PX1HdMyn3m2nWL8eQnWwymClYXLLrEDsQxRVNpg tqI1LcRvZTaFyw1KjL8ldmVZsBijG0bv7FIhyHpXN6CAhkgAgJeU5HqImDVtfvbgCUwK fKT5uTn2KQfwEt1XjWSxOxmbSybpCOjabKyfO3oB7qNONGqx8AQOpyEtp/uVxAPOvfGz XLiV2+7gojTHjM4j/66zfj24NkOGSETyCfJ6oUCSf+AGrJjnhpEXrXmlISpw9cH/eQ/P OgmD0arVO6mAr9zw/pQFzpgOENonXLysBsEVQkUL8+IsxUVEJu8atvoLXttRQvlwIm3U dghQ== 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=cBk5T/KZMCsgq86jMRSAomEpiB6EQ+oabvYmkQJe8dg=; b=F+cIMfshFli+YAyo6oOq9FADpmZ/tdAkCxlSB0/9l/NS4zSAt2620RgoKVRge7dGg3 kqMhOFw/VrRrOHWV2g9ekKweVKOYVG4mlV4TcWM1raHOI2STRI5HRcGe9fLBjXlv/PS2 yN3N3zSbQQlZnykpRQI/fPVmq6qyh+mkeGg+Ch0iei/4rcCVVPAieRbNFLD4upDyvCcr OoznG+PAKPpWbtl7cd4H550WK6kga3hN5f2YHBrZWZ251wGRthxSMXMj0Is1fTXancOx BanRcmB3kmY1IoQUzReFHUcYsj49x5opr30MbdYJSmiJk6jnewmOi6IkWwHbhjksCRsc vnqw== X-Gm-Message-State: AMCzsaV2ceqNDTVbdgG3Qf5v9jV1wzMyc0rThG4lpw3Yb4kjA1yBJwnn W4IIyplObnfZs0vhYsd3/Tt/uw== X-Google-Smtp-Source: AOwi7QA5XYD6xg0K/JXop1Pq92D9xG4FyYIcTzpjYqXBpD7jISuDINo1nSRxZJAPRk/t3NyFwh+GQQ== X-Received: by 10.157.3.69 with SMTP id 63mr3775667otv.159.1506714495445; Fri, 29 Sep 2017 12:48:15 -0700 (PDT) Received: from Larrylap.localdomain (cpe-24-31-251-255.kc.res.rr.com. [24.31.251.255]) by smtp.gmail.com with ESMTPSA id v14sm2311062oif.39.2017.09.29.12.48.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Sep 2017 12:48:14 -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 08/10] rtlwifi: Remove BAND_NUM and related fields Date: Fri, 29 Sep 2017 14:47:58 -0500 Message-Id: <20170929194800.15617-9-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170929194800.15617-1-Larry.Finger@lwfinger.net> References: <20170929194800.15617-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 5843aee5c921..6705f863f152 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;