From patchwork Wed Mar 28 07:27:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ping-Ke Shih X-Patchwork-Id: 10312327 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 941DE60325 for ; Wed, 28 Mar 2018 07:28:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7D5DF28CF4 for ; Wed, 28 Mar 2018 07:28:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 724B9290C7; Wed, 28 Mar 2018 07:28:06 +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=-5.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 496582909E for ; Wed, 28 Mar 2018 07:28:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752856AbeC1H2C (ORCPT ); Wed, 28 Mar 2018 03:28:02 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:47364 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751135AbeC1H2B (ORCPT ); Wed, 28 Mar 2018 03:28:01 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID w2S7RnjY030640, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtitcasv01.realtek.com.tw [172.21.6.18]) by rtits2.realtek.com.tw (8.15.2/2.57/5.78) with ESMTP id w2S7RnjY030640; Wed, 28 Mar 2018 15:27:49 +0800 Received: from localhost.localdomain (172.21.69.140) by RTITCASV01.realtek.com.tw (172.21.6.18) with Microsoft SMTP Server id 14.3.294.0; Wed, 28 Mar 2018 15:27:49 +0800 From: To: CC: , Subject: [PATCH 6/9] rtlwifi: btcoex: remove comments that are not meaningful Date: Wed, 28 Mar 2018 15:27:38 +0800 Message-ID: <20180328072741.23349-7-pkshih@realtek.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180328072741.23349-1-pkshih@realtek.com> References: <20180328072741.23349-1-pkshih@realtek.com> MIME-Version: 1.0 X-Originating-IP: [172.21.69.140] 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 The comments aren't meaningful and the use of '***...***' isn't upstream style, so remove them. This patch doesn't change any code. Signed-off-by: Ping-Ke Shih --- .../realtek/rtlwifi/btcoexist/halbtc8192e2ant.c | 22 +------------------- .../realtek/rtlwifi/btcoexist/halbtc8723b1ant.c | 24 +--------------------- .../realtek/rtlwifi/btcoexist/halbtc8723b2ant.c | 23 ++------------------- .../realtek/rtlwifi/btcoexist/halbtc8821a1ant.c | 22 +------------------- .../realtek/rtlwifi/btcoexist/halbtc8821a2ant.c | 23 +-------------------- 5 files changed, 6 insertions(+), 108 deletions(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c index 8fce371749d3..959af05117d7 100644 --- a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c +++ b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c @@ -22,23 +22,9 @@ * Larry Finger * *****************************************************************************/ -/************************************************************** - * Description: - * - * This file is for RTL8192E Co-exist mechanism - * - * History - * 2012/11/15 Cosa first check in. - * - **************************************************************/ -/************************************************************** - * include files - **************************************************************/ #include "halbt_precomp.h" -/************************************************************** - * Global variables, these are static variables - **************************************************************/ + static struct coex_dm_8192e_2ant glcoex_dm_8192e_2ant; static struct coex_dm_8192e_2ant *coex_dm = &glcoex_dm_8192e_2ant; static struct coex_sta_8192e_2ant glcoex_sta_8192e_2ant; @@ -53,12 +39,6 @@ static const char *const glbt_info_src_8192e_2ant[] = { static u32 glcoex_ver_date_8192e_2ant = 20130902; static u32 glcoex_ver_8192e_2ant = 0x34; -/************************************************************** - * local function proto type if needed - **************************************************************/ -/************************************************************** - * local function start with btc8192e2ant_ - **************************************************************/ static u8 btc8192e2ant_bt_rssi_state(struct btc_coexist *btcoexist, u8 level_num, u8 rssi_thresh, u8 rssi_thresh1) diff --git a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c index 59553db020ef..e97e907e66cd 100644 --- a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c +++ b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c @@ -23,23 +23,8 @@ * *****************************************************************************/ -/*************************************************************** - * Description: - * - * This file is for RTL8723B Co-exist mechanism - * - * History - * 2012/11/15 Cosa first check in. - * - ***************************************************************/ - -/*************************************************************** - * include files - ***************************************************************/ #include "halbt_precomp.h" -/*************************************************************** - * Global variables, these are static variables - ***************************************************************/ + static struct coex_dm_8723b_1ant glcoex_dm_8723b_1ant; static struct coex_dm_8723b_1ant *coex_dm = &glcoex_dm_8723b_1ant; static struct coex_sta_8723b_1ant glcoex_sta_8723b_1ant; @@ -54,13 +39,6 @@ static const char *const glbt_info_src_8723b_1ant[] = { static u32 glcoex_ver_date_8723b_1ant = 20130918; static u32 glcoex_ver_8723b_1ant = 0x47; -/*************************************************************** - * local function proto type if needed - ***************************************************************/ -/*************************************************************** - * local function start with halbtc8723b1ant_ - ***************************************************************/ - static void halbtc8723b1ant_updatera_mask(struct btc_coexist *btcoexist, bool force_exec, u32 dis_rate_mask) { diff --git a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c index 73ec31972944..e9a7f303cdda 100644 --- a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c +++ b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c @@ -22,22 +22,9 @@ * Larry Finger * *****************************************************************************/ -/*************************************************************** - * Description: - * - * This file is for RTL8723B Co-exist mechanism - * - * History - * 2012/11/15 Cosa first check in. - * - **************************************************************/ -/************************************************************** - * include files - **************************************************************/ + #include "halbt_precomp.h" -/************************************************************** - * Global variables, these are static variables - **************************************************************/ + static struct coex_dm_8723b_2ant glcoex_dm_8723b_2ant; static struct coex_dm_8723b_2ant *coex_dm = &glcoex_dm_8723b_2ant; static struct coex_sta_8723b_2ant glcoex_sta_8723b_2ant; @@ -52,12 +39,6 @@ static const char *const glbt_info_src_8723b_2ant[] = { static u32 glcoex_ver_date_8723b_2ant = 20131113; static u32 glcoex_ver_8723b_2ant = 0x3f; -/************************************************************** - * local function proto type if needed - **************************************************************/ -/************************************************************** - * local function start with btc8723b2ant_ - **************************************************************/ static u8 btc8723b2ant_bt_rssi_state(struct btc_coexist *btcoexist, u8 level_num, u8 rssi_thresh, u8 rssi_thresh1) diff --git a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c index 202597cf8915..39dc5966700b 100644 --- a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c +++ b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c @@ -23,23 +23,8 @@ * *****************************************************************************/ -/************************************************************** - * Description: - * - * This file is for RTL8821A Co-exist mechanism - * - * History - * 2012/11/15 Cosa first check in. - * - **************************************************************/ - -/************************************************************** - * include files - **************************************************************/ #include "halbt_precomp.h" -/************************************************************** - * Global variables, these are static variables - **************************************************************/ + static struct coex_dm_8821a_1ant glcoex_dm_8821a_1ant; static struct coex_dm_8821a_1ant *coex_dm = &glcoex_dm_8821a_1ant; static struct coex_sta_8821a_1ant glcoex_sta_8821a_1ant; @@ -56,11 +41,6 @@ static const char *const glbt_info_src_8821a_1ant[] = { static u32 glcoex_ver_date_8821a_1ant = 20130816; static u32 glcoex_ver_8821a_1ant = 0x41; -/************************************************************** - * local function proto type if needed - * - * local function start with btc8821a1ant_ - **************************************************************/ static u8 btc8821a1ant_bt_rssi_state(struct btc_coexist *btcoexist, u8 level_num, u8 rssi_thresh, u8 rssi_thresh1) diff --git a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c index 2202d5e18977..264796616d8a 100644 --- a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c +++ b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c @@ -23,24 +23,8 @@ * *****************************************************************************/ -/************************************************************ - * Description: - * - * This file is for RTL8821A Co-exist mechanism - * - * History - * 2012/08/22 Cosa first check in. - * 2012/11/14 Cosa Revise for 8821A 2Ant out sourcing. - * - ************************************************************/ - -/************************************************************ - * include files - ************************************************************/ #include "halbt_precomp.h" -/************************************************************ - * Global variables, these are static variables - ************************************************************/ + static struct coex_dm_8821a_2ant glcoex_dm_8821a_2ant; static struct coex_dm_8821a_2ant *coex_dm = &glcoex_dm_8821a_2ant; static struct coex_sta_8821a_2ant glcoex_sta_8821a_2ant; @@ -55,11 +39,6 @@ static const char *const glbt_info_src_8821a_2ant[] = { static u32 glcoex_ver_date_8821a_2ant = 20130618; static u32 glcoex_ver_8821a_2ant = 0x5050; -/************************************************************ - * local function proto type if needed - * - * local function start with btc8821a2ant_ - ************************************************************/ static u8 btc8821a2ant_bt_rssi_state(struct btc_coexist *btcoexist, u8 level_num, u8 rssi_thresh, u8 rssi_thresh1)