All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] staging: rtl8723bs: delete more empty comment lines
@ 2026-09-11 19:33 Jennifer Guo
  2026-09-11 19:33 ` [PATCH 1/2] staging: rtl8723bs: delete empty comment lines in hal/ header files Jennifer Guo
  2026-09-11 19:33 ` [PATCH 2/2] staging: rtl8723bs: delete empty comment lines in source files Jennifer Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Jennifer Guo @ 2026-09-11 19:33 UTC (permalink / raw)
  To: linux-staging; +Cc: gregkh, guojy.bj

This patchset deletes all empty comment lines /*  */ from hal/ and
os_dep/ files, and adds a newline back in where appropriate.

Jennifer Guo (2):
  staging: rtl8723bs: delete empty comment lines in hal/ header files
  staging: rtl8723bs: delete empty comment lines in source files

 drivers/staging/rtl8723bs/hal/Hal8723BReg.h   | 17 +-------
 .../staging/rtl8723bs/hal/HalBtc8723b1Ant.c   | 16 -------
 .../staging/rtl8723bs/hal/HalBtc8723b1Ant.h   |  2 -
 .../staging/rtl8723bs/hal/HalBtc8723b2Ant.c   |  8 ----
 .../staging/rtl8723bs/hal/HalBtc8723b2Ant.h   |  2 -
 drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h  |  2 +-
 drivers/staging/rtl8723bs/hal/HalPhyRf.c      |  6 +--
 .../staging/rtl8723bs/hal/HalPhyRf_8723B.c    |  2 -
 .../staging/rtl8723bs/hal/HalPhyRf_8723B.h    |  6 +--
 drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c  |  6 ---
 drivers/staging/rtl8723bs/hal/hal_btcoex.c    | 13 ------
 drivers/staging/rtl8723bs/hal/odm.c           | 26 ------------
 drivers/staging/rtl8723bs/hal/odm.h           | 42 ++-----------------
 drivers/staging/rtl8723bs/hal/odm_HWConfig.c  |  7 ----
 drivers/staging/rtl8723bs/hal/odm_HWConfig.h  |  2 -
 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c   |  6 ---
 .../staging/rtl8723bs/hal/rtl8723b_hal_init.c | 30 -------------
 .../staging/rtl8723bs/hal/rtl8723b_phycfg.c   | 21 +---------
 .../staging/rtl8723bs/hal/rtl8723b_rf6052.c   |  2 -
 .../staging/rtl8723bs/hal/rtl8723b_rxdesc.c   |  4 --
 drivers/staging/rtl8723bs/hal/sdio_halinit.c  | 33 ---------------
 drivers/staging/rtl8723bs/hal/sdio_ops.c      | 17 --------
 .../staging/rtl8723bs/os_dep/ioctl_cfg80211.c |  4 +-
 drivers/staging/rtl8723bs/os_dep/os_intfs.c   |  6 +--
 24 files changed, 14 insertions(+), 266 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] staging: rtl8723bs: delete empty comment lines in hal/ header files
  2026-09-11 19:33 [PATCH 0/2] staging: rtl8723bs: delete more empty comment lines Jennifer Guo
@ 2026-09-11 19:33 ` Jennifer Guo
  2026-09-11 19:33 ` [PATCH 2/2] staging: rtl8723bs: delete empty comment lines in source files Jennifer Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Jennifer Guo @ 2026-09-11 19:33 UTC (permalink / raw)
  To: linux-staging; +Cc: gregkh, guojy.bj

Delete all empty comment lines in hal/ header files. Add back a newline
if needed for spacing, while avoiding multiple blank lines.

Signed-off-by: Jennifer Guo <guojy.bj@gmail.com>
---
 drivers/staging/rtl8723bs/hal/Hal8723BReg.h   | 17 +-------
 .../staging/rtl8723bs/hal/HalBtc8723b1Ant.h   |  2 -
 .../staging/rtl8723bs/hal/HalBtc8723b2Ant.h   |  2 -
 drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h  |  2 +-
 .../staging/rtl8723bs/hal/HalPhyRf_8723B.h    |  6 +--
 drivers/staging/rtl8723bs/hal/odm.h           | 42 ++-----------------
 drivers/staging/rtl8723bs/hal/odm_HWConfig.h  |  2 -
 7 files changed, 7 insertions(+), 66 deletions(-)

diff --git a/drivers/staging/rtl8723bs/hal/Hal8723BReg.h b/drivers/staging/rtl8723bs/hal/Hal8723BReg.h
index 0b327a70aa15..8142d9cf9ae5 100644
--- a/drivers/staging/rtl8723bs/hal/Hal8723BReg.h
+++ b/drivers/staging/rtl8723bs/hal/Hal8723BReg.h
@@ -19,27 +19,16 @@
 #ifndef __INC_HAL8723BREG_H
 #define __INC_HAL8723BREG_H
 
-/*  */
-/*  */
 /*	0x0100h ~ 0x01FFh	MACTOP General Configuration */
-/*  */
-/*  */
 #define REG_C2HEVT_CMD_SEQ_88XX			0x01A1
 #define REG_C2HEVT_CMD_LEN_88XX			0x01AE
 
-/*  */
-/*  */
 /*	0x0200h ~ 0x027Fh	TXDMA Configuration */
-/*  */
-/*  */
 #define REG_DWBCN1_CTRL_8723B			0x0228
 
 /*  spec version 11 */
-/*  */
-/*  */
+
 /*	0x0400h ~ 0x047Fh	Protocol Configuration */
-/*  */
-/*  */
 #define REG_FWHW_TXQ_CTRL_8723B			0x0420
 #define REG_ARFR0_8723B				0x0444
 #define REG_ARFR1_8723B				0x044C
@@ -50,11 +39,7 @@
 #define REG_DATA_SC_8723B			0x0483
 #define REG_MAX_AGGR_NUM_8723B			0x04CA
 
-/*  */
-/*  */
 /*	0x0500h ~ 0x05FFh	EDCA Configuration */
-/*  */
-/*  */
 #define REG_PIFS_8723B				0x0512
 
 /*	0x0600h ~ 0x07FFh	WMAC Configuration */
diff --git a/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h b/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h
index 7a12d92da0a9..b3e6c5f12e8b 100644
--- a/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h
+++ b/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h
@@ -164,9 +164,7 @@ struct coex_sta_8723b_1ant {
 	bool bForceLpsOn;
 };
 
-/*  */
 /*  The following is interface which will notify coex module. */
-/*  */
 void EXhalbtc8723b1ant_PowerOnSetting(struct btc_coexist *pBtCoexist);
 void EXhalbtc8723b1ant_InitHwConfig(struct btc_coexist *pBtCoexist, bool bWifiOnly);
 void EXhalbtc8723b1ant_InitCoexDm(struct btc_coexist *pBtCoexist);
diff --git a/drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.h b/drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.h
index ebc47f65e8d2..21bb90479e9c 100644
--- a/drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.h
+++ b/drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.h
@@ -126,9 +126,7 @@ struct coex_sta_8723b_2ant {
 	u8 btInfoExt;
 };
 
-/*  */
 /*  The following is interface which will notify coex module. */
-/*  */
 void EXhalbtc8723b2ant_PowerOnSetting(struct btc_coexist *pBtCoexist);
 void EXhalbtc8723b2ant_InitHwConfig(struct btc_coexist *pBtCoexist, bool bWifiOnly);
 void EXhalbtc8723b2ant_InitCoexDm(struct btc_coexist *pBtCoexist);
diff --git a/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h b/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h
index 36b0f429dd4c..761763471a68 100644
--- a/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h
+++ b/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h
@@ -194,7 +194,7 @@ enum {
 	BTC_SET_ACT_CTRL_BT_INFO,
 	BTC_SET_ACT_CTRL_BT_COEX,
 	BTC_SET_ACT_CTRL_8723B_ANT,
-	/*  */
+
 	BTC_SET_MAX
 };
 
diff --git a/drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.h b/drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.h
index 14b328378b8b..9795bbcf0b35 100644
--- a/drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.h
+++ b/drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.h
@@ -13,7 +13,7 @@
 #define IQK_DEFERRED_TIME_8723B		4
 #define	index_mapping_NUM_8723B		15
 #define AVG_THERMAL_NUM_8723B		4
-#define	RF_T_METER_8723B					0x42	/*  */
+#define	RF_T_METER_8723B					0x42
 
 void ConfigureTxpowerTrack_8723B(struct txpwrtrack_cfg *pConfig);
 
@@ -35,14 +35,10 @@ void PHY_IQCalibrate_8723B(
 
 void ODM_SetIQCbyRFpath(struct dm_odm_t *pDM_Odm, u32 RFpath);
 
-/*  */
 /*  LC calibrate */
-/*  */
 void PHY_LCCalibrate_8723B(struct dm_odm_t *pDM_Odm);
 
-/*  */
 /*  AP calibrate */
-/*  */
 void PHY_DigitalPredistortion_8723B(struct adapter *padapter);
 
 void _PHY_SaveADDARegisters_8723B(
diff --git a/drivers/staging/rtl8723bs/hal/odm.h b/drivers/staging/rtl8723bs/hal/odm.h
index b123df98fa22..3532f0d79363 100644
--- a/drivers/staging/rtl8723bs/hal/odm.h
+++ b/drivers/staging/rtl8723bs/hal/odm.h
@@ -197,9 +197,8 @@ struct odm_rate_adaptive {
 #define		DM_Type_ByFW			0
 #define		DM_Type_ByDriver		1
 
-/*  */
 /*  Declare for common info */
-/*  */
+
 #define MAX_PATH_NUM_8723B		1
 
 #define IQK_THRESHOLD			8
@@ -262,9 +261,7 @@ struct odm_mac_status_info {
 	u8 test;
 };
 
-/*  */
 /*  2011/10/20 MH Define Common info enum for all team. */
-/*  */
 enum odm_cmninfo_e {
 	/*  Fixed value: */
 
@@ -350,9 +347,7 @@ enum odm_cmninfo_e {
 
 /*  2011/10/20 MH Define ODM support ability.  ODM_CMNINFO_ABILITY */
 enum { /* _ODM_Support_Ability_Definition */
-	/*  */
 	/*  BB ODM section BIT 0-15 */
-	/*  */
 	ODM_BB_DIG			= BIT(0),
 	ODM_BB_RA_MASK			= BIT(1),
 	ODM_BB_DYNAMIC_TXPWR		= BIT(2),
@@ -410,9 +405,7 @@ enum { /* tag_ODM_Fab_Version_Definition */
 	ODM_UMC		=	1,
 };
 
-/*  */
 /*  For example 1T2R (A+AB = BIT0|BIT4|BIT5) */
-/*  */
 enum { /* tag_ODM_RF_Type_Definition */
 	ODM_1T1R	=	0,
 	ODM_1T2R	=	1,
@@ -424,9 +417,7 @@ enum { /* tag_ODM_RF_Type_Definition */
 	ODM_4T4R	=	7,
 };
 
-/*  */
 /*  ODM Dynamic common info value definition */
-/*  */
 
 /*  ODM_CMNINFO_WM_MODE */
 enum { /* tag_Wireless_Mode_Definition */
@@ -531,8 +522,6 @@ struct odm_rf_cal_t { /* ODM_RF_Calibration_Structure */
 	u8 DeltaSwingTableIdx_2GA_P_8188E[DELTA_SWINGIDX_SIZE];
 	u8 DeltaSwingTableIdx_2GA_N_8188E[DELTA_SWINGIDX_SIZE];
 
-	/*  */
-
 	/* for IQK */
 	u32 RegC04;
 	u32 Reg874;
@@ -567,10 +556,8 @@ struct odm_rf_cal_t { /* ODM_RF_Calibration_Structure */
 	u32 TxLOK[2];
 
 };
-/*  */
-/*  ODM Dynamic common info value definition */
-/*  */
 
+/*  ODM Dynamic common info value definition */
 struct fat_t { /* _FAST_ANTENNA_TRAINNING_ */
 	u8 Bssid[6];
 	u8 antsel_rx_keep_0;
@@ -633,9 +620,7 @@ enum phy_reg_pg_type { /* _BASEBAND_CONFIG_PHY_REG_PG_VALUE_TYPE */
 	PHY_REG_PG_EXACT_VALUE = 1
 };
 
-/*  */
 /*  Antenna detection information from single tone mechanism, added by Roger, 2012.11.27. */
-/*  */
 struct ant_detected_info {
 	bool bAntDetected;
 	u32 dBForAntA;
@@ -643,9 +628,7 @@ struct ant_detected_info {
 	u32 dBForAntO;
 };
 
-/*  */
 /*  2011/09/22 MH Copy from SD4 defined structure. We use to support PHY DM integration. */
-/*  */
 struct dm_odm_t { /* DM_Out_Source_Dynamic_Mechanism_Structure */
 	struct adapter *Adapter;		/*  For CE/NIC team */
 	/*  WHen you use Adapter or priv pointer, you must make sure the pointer is ready. */
@@ -668,9 +651,7 @@ struct dm_odm_t { /* DM_Out_Source_Dynamic_Mechanism_Structure */
 
 /* 1  COMMON INFORMATION */
 
-	/*  */
 	/*  Init Value */
-	/*  */
 /* HOOK BEFORE REG INIT----------- */
 	/*  ODM Platform info AP/ADSL/CE/MP = 1/2/3/4 */
 	u8 SupportPlatform;
@@ -708,9 +689,8 @@ struct dm_odm_t { /* DM_Out_Source_Dynamic_Mechanism_Structure */
 	u8 AntDivType;
 /* HOOK BEFORE REG INIT----------- */
 
-	/*  */
 	/*  Dynamic Value */
-	/*  */
+
 /*  POINTER REFERENCE----------- */
 
 	u8 u8_temp;
@@ -830,16 +810,13 @@ struct dm_odm_t { /* DM_Out_Source_Dynamic_Mechanism_Structure */
 	u8 Adaptivity_IGI_upper;
 	u8 NHM_cnt_0;
 
-	/*  */
 	/* 2 Define STA info. */
 	/*  _ODM_STA_INFO */
 	/*  2012/01/12 MH For MP, we need to reduce one array pointer for default port.?? */
 	PSTA_INFO_T pODM_StaInfo[ODM_ASSOCIATE_ENTRY_NUM];
 
-	/*  */
 	/*  2012/02/14 MH Add to share 88E ra with other SW team. */
 	/*  We need to colelct all support abilit to a proper area. */
-	/*  */
 	bool RaSupport88E;
 
 	/*  Define ........... */
@@ -850,9 +827,7 @@ struct dm_odm_t { /* DM_Out_Source_Dynamic_Mechanism_Structure */
 	/*  Latest packet phy info (ODM write) */
 	struct odm_mac_status_info *pMacInfo;
 
-	/*  */
 	/* ODM Structure */
-	/*  */
 	struct fat_t DM_FatTable;
 	struct dig_t DM_DigTable;
 	struct ps_t DM_PSTable;
@@ -869,9 +844,7 @@ struct dm_odm_t { /* DM_Out_Source_Dynamic_Mechanism_Structure */
 	u32 WMMEDCA_BE;
 	struct pathdiv_t DM_PathDiv;
 	/*  Copy from SD4 structure */
-	/*  */
 	/*  ================================================== */
-	/*  */
 
 	/* common */
 
@@ -899,9 +872,7 @@ struct dm_odm_t { /* DM_Out_Source_Dynamic_Mechanism_Structure */
 
 	struct odm_rf_cal_t RFCalibrateInfo;
 
-	/*  */
 	/*  TX power tracking */
-	/*  */
 	u8 BbSwingIdxOfdm[MAX_RF_PATH];
 	u8 BbSwingIdxOfdmCurrent;
 	u8 BbSwingIdxOfdmBase[MAX_RF_PATH];
@@ -924,9 +895,8 @@ struct dm_odm_t { /* DM_Out_Source_Dynamic_Mechanism_Structure */
 	bool Modify_TxAGC_Flag_PathA_CCK;
 
 	s8 KfreeOffset[MAX_RF_PATH];
-	/*  */
+
 	/*  ODM system resource. */
-	/*  */
 
 	/*  ODM relative time. */
 	struct timer_list PathDivSwitchTimer;
@@ -1018,16 +988,12 @@ enum { /* tag_RF_Type_Definition */
 /*  Maximal number of antenna detection mechanism needs to perform, added by Roger, 2011.12.28. */
 #define	MAX_ANTENNA_DETECTION_CNT	10
 
-/*  */
 /*  Extern Global Variables. */
-/*  */
 extern	u32 OFDMSwingTable_New[OFDM_TABLE_SIZE];
 extern	u8 CCKSwingTable_Ch1_Ch13_New[CCK_TABLE_SIZE][8];
 extern	u8 CCKSwingTable_Ch14_New[CCK_TABLE_SIZE][8];
 
-/*  */
 /*  check Sta pointer valid or not */
-/*  */
 #define IS_STA_VALID(pSta)		(pSta)
 /*  20100514 Joseph: Add definition for antenna switching test after link. */
 /*  This indicates two different the steps. */
diff --git a/drivers/staging/rtl8723bs/hal/odm_HWConfig.h b/drivers/staging/rtl8723bs/hal/odm_HWConfig.h
index 615145812ed2..ca3380328a72 100644
--- a/drivers/staging/rtl8723bs/hal/odm_HWConfig.h
+++ b/drivers/staging/rtl8723bs/hal/odm_HWConfig.h
@@ -8,9 +8,7 @@
 #ifndef __HALHWOUTSRC_H__
 #define __HALHWOUTSRC_H__
 
-/*  */
 /*  structure and define */
-/*  */
 
 struct phy_rx_agc_info_t {
 	#if (ODM_ENDIAN_TYPE == ODM_ENDIAN_LITTLE)
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] staging: rtl8723bs: delete empty comment lines in source files
  2026-09-11 19:33 [PATCH 0/2] staging: rtl8723bs: delete more empty comment lines Jennifer Guo
  2026-09-11 19:33 ` [PATCH 1/2] staging: rtl8723bs: delete empty comment lines in hal/ header files Jennifer Guo
@ 2026-09-11 19:33 ` Jennifer Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Jennifer Guo @ 2026-09-11 19:33 UTC (permalink / raw)
  To: linux-staging; +Cc: gregkh, guojy.bj

Delete all empty comment lines in hal/ and os_dep/ source files as they
are not serving any purpose. Add back a newline if needed for spacing,
while avoiding multiple blank lines.

Signed-off-by: Jennifer Guo <guojy.bj@gmail.com>
---
 .../staging/rtl8723bs/hal/HalBtc8723b1Ant.c   | 16 ---------
 .../staging/rtl8723bs/hal/HalBtc8723b2Ant.c   |  8 -----
 drivers/staging/rtl8723bs/hal/HalPhyRf.c      |  6 +---
 .../staging/rtl8723bs/hal/HalPhyRf_8723B.c    |  2 --
 drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c  |  6 ----
 drivers/staging/rtl8723bs/hal/hal_btcoex.c    | 13 --------
 drivers/staging/rtl8723bs/hal/odm.c           | 26 ---------------
 drivers/staging/rtl8723bs/hal/odm_HWConfig.c  |  7 ----
 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c   |  6 ----
 .../staging/rtl8723bs/hal/rtl8723b_hal_init.c | 30 -----------------
 .../staging/rtl8723bs/hal/rtl8723b_phycfg.c   | 21 +-----------
 .../staging/rtl8723bs/hal/rtl8723b_rf6052.c   |  2 --
 .../staging/rtl8723bs/hal/rtl8723b_rxdesc.c   |  4 ---
 drivers/staging/rtl8723bs/hal/sdio_halinit.c  | 33 -------------------
 drivers/staging/rtl8723bs/hal/sdio_ops.c      | 17 ----------
 .../staging/rtl8723bs/os_dep/ioctl_cfg80211.c |  4 +--
 drivers/staging/rtl8723bs/os_dep/os_intfs.c   |  6 ++--
 17 files changed, 7 insertions(+), 200 deletions(-)

diff --git a/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c b/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c
index 0613beaa3752..2845ae14977a 100644
--- a/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c
+++ b/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c
@@ -221,9 +221,7 @@ static void halbtc8723b1ant_LimitedRx(
 	bool bBtCtrlRxAggSize = bBtCtrlAggBufSize;
 	u8 rxAggSize = aggBufSize;
 
-	/*  */
 	/*	Rx Aggregation related setting */
-	/*  */
 	pBtCoexist->fBtcSet(
 		pBtCoexist, BTC_SET_BL_TO_REJ_AP_AGG_PKT, &bRejectRxAgg
 	);
@@ -1346,7 +1344,6 @@ static void halbtc8723b1ant_TdmaDurationAdjustForAcl(
 
 		halbtc8723b1ant_PsTdma(pBtCoexist, NORMAL_EXEC, true, 2);
 		pCoexDm->psTdmaDuAdjType = 2;
-		/*  */
 		up = 0;
 		dn = 0;
 		m = 1;
@@ -1525,17 +1522,9 @@ static void halbtc8723b1ant_PowerSaveState(
 	}
 }
 
-/*  */
-/*  */
 /*	Software Coex Mechanism start */
-/*  */
-/*  */
 
-/*  */
-/*  */
 /*	Non-Software Coex Mechanism start */
-/*  */
-/*  */
 static void halbtc8723b1ant_ActionWifiMultiPort(struct btc_coexist *pBtCoexist)
 {
 	halbtc8723b1ant_PowerSaveState(pBtCoexist, BTC_PS_WIFI_NATIVE, 0x0, 0x0);
@@ -2058,12 +2047,8 @@ static void halbtc8723b1ant_InitHwConfig(
 	pBtCoexist->fBtcRead1Byte(pBtCoexist, 0x67);
 }
 
-/*  */
 /*  work around function start with wa_halbtc8723b1ant_ */
-/*  */
-/*  */
 /*  extern function start with EXhalbtc8723b1ant_ */
-/*  */
 void EXhalbtc8723b1ant_PowerOnSetting(struct btc_coexist *pBtCoexist)
 {
 	struct btc_board_info *pBoardInfo = &pBtCoexist->boardInfo;
@@ -2081,7 +2066,6 @@ void EXhalbtc8723b1ant_PowerOnSetting(struct btc_coexist *pBtCoexist)
 	/*  set WLAN_ACT = 0 */
 	pBtCoexist->fBtcWrite1Byte(pBtCoexist, 0x76e, 0x4);
 
-	/*  */
 	/*  S0 or S1 setting and Local register setting(By the setting fw can get ant number, S0/S1, ... info) */
 	/*  Local setting bit define */
 	/*	BIT0: "0" for no antenna inverse; "1" for antenna inverse */
diff --git a/drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c b/drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c
index 0220bacee181..f7e126c69a5a 100644
--- a/drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c
+++ b/drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c
@@ -167,9 +167,7 @@ static void halbtc8723b2ant_LimitedRx(
 	bool bBtCtrlRxAggSize = bBtCtrlAggBufSize;
 	u8 rxAggSize = aggBufSize;
 
-	/*  */
 	/*	Rx Aggregation related setting */
-	/*  */
 	pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_BL_TO_REJ_AP_AGG_PKT, &bRejectRxAgg);
 	/*  decide BT control aggregation buf size or not */
 	pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_BL_BT_CTRL_AGG_SIZE, &bBtCtrlRxAggSize);
@@ -1209,7 +1207,6 @@ static void halbtc8723b2ant_TdmaDurationAdjust(
 				}
 			}
 		}
-		/*  */
 		up = 0;
 		dn = 0;
 		m = 1;
@@ -2315,12 +2312,8 @@ static void halbtc8723b2ant_InitHwConfig(struct btc_coexist *pBtCoexist, bool bB
 	pBtCoexist->fBtcWrite1ByteBitMask(pBtCoexist, 0x40, 0x20, 0x1);
 }
 
-/*  */
 /*  work around function start with wa_halbtc8723b2ant_ */
-/*  */
-/*  */
 /*  extern function start with EXhalbtc8723b2ant_ */
-/*  */
 void EXhalbtc8723b2ant_PowerOnSetting(struct btc_coexist *pBtCoexist)
 {
 	struct btc_board_info *pBoardInfo = &pBtCoexist->boardInfo;
@@ -2338,7 +2331,6 @@ void EXhalbtc8723b2ant_PowerOnSetting(struct btc_coexist *pBtCoexist)
 	/*  set WLAN_ACT = 0 */
 	pBtCoexist->fBtcWrite1Byte(pBtCoexist, 0x76e, 0x4);
 
-	/*  */
 	/*  S0 or S1 setting and Local register setting(By the setting fw can get ant number, S0/S1, ... info) */
 	/*  Local setting bit define */
 	/*	BIT0: "0" for no antenna inverse; "1" for antenna inverse */
diff --git a/drivers/staging/rtl8723bs/hal/HalPhyRf.c b/drivers/staging/rtl8723bs/hal/HalPhyRf.c
index 16a47197037e..083d60871a68 100644
--- a/drivers/staging/rtl8723bs/hal/HalPhyRf.c
+++ b/drivers/staging/rtl8723bs/hal/HalPhyRf.c
@@ -13,14 +13,11 @@ void ConfigureTxpowerTrack(struct dm_odm_t *pDM_Odm, struct txpwrtrack_cfg *pCon
 	ConfigureTxpowerTrack_8723B(pConfig);
 }
 
-/*  */
 /*  <20121113, Kordan> This function should be called when TxAGC changed. */
 /*  Otherwise the previous compensation is gone, because we record the */
 /*  delta of temperature between two TxPowerTracking watch dogs. */
-/*  */
 /*  NOTE: If Tx BB swing or Tx scaling is varified during run-time, still */
 /*        need to call this function. */
-/*  */
 void ODM_ClearTxPowerTrackingState(struct dm_odm_t *pDM_Odm)
 {
 	struct hal_com_data *pHalData = GET_HAL_DATA(pDM_Odm->Adapter);
@@ -238,10 +235,9 @@ void ODM_TXPowerTrackingCallback_ThermalMeter(struct adapter *Adapter)
 		/* 4 7.2 Configure the Swing Table to adjust Tx Power. */
 
 		pDM_Odm->RFCalibrateInfo.bTxPowerChanged = true; /*  Always true after Tx Power is adjusted by power tracking. */
-		/*  */
 		/*  2012/04/23 MH According to Luke's suggestion, we can not write BB digital */
 		/*  to increase TX power. Otherwise, EVM will be bad. */
-		/*  */
+
 		/*  2012/04/25 MH Add for tx power tracking to set tx power in tx agc for 88E. */
 
 		if (ThermalValue > pHalData->EEPROMThermalMeter) {
diff --git a/drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c b/drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c
index ae01560dc8dd..05cb0575f2b5 100644
--- a/drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c
+++ b/drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c
@@ -1005,9 +1005,7 @@ static void _PHY_PathBFillIQKMatrix8723B(
 	}
 }
 
-/*  */
 /*  2011/07/26 MH Add an API for testing IQK fail case. */
-/*  */
 /*  MP Already declare in odm.c */
 
 void ODM_SetIQCbyRFpath(struct dm_odm_t *pDM_Odm, u32 RFpath)
diff --git a/drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c b/drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c
index c254e3481cc2..d23fe86d53bc 100644
--- a/drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c
+++ b/drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c
@@ -23,15 +23,11 @@
 #include <drv_types.h>
 #include <HalPwrSeqCmd.h>
 
-/*  */
 /*  Description: */
 /*  This routine deal with the Power Configuration CMDs parsing for RTL8723/RTL8188E Series IC. */
-/*  */
 /*  Assumption: */
 /*  We should follow specific format which was released from HW SD. */
-/*  */
 /*  2011.07.07, added by Roger. */
-/*  */
 u8 HalPwrSeqCmdParsing(
 	struct adapter *padapter,
 	u8 CutVersion,
@@ -64,10 +60,8 @@ u8 HalPwrSeqCmdParsing(
 			case PWR_CMD_WRITE:
 				offset = GET_PWR_CFG_OFFSET(PwrCfgCmd);
 
-				/*  */
 				/*  <Roger_Notes> We should deal with interface specific address mapping for some interfaces, e.g., SDIO interface */
 				/*  2011.07.07. */
-				/*  */
 				if (GET_PWR_CFG_BASE(PwrCfgCmd) == PWR_BASEADDR_SDIO) {
 					/*  Read Back SDIO Local value */
 					value = SdioLocalCmd52Read1Byte(padapter, offset);
diff --git a/drivers/staging/rtl8723bs/hal/hal_btcoex.c b/drivers/staging/rtl8723bs/hal/hal_btcoex.c
index 61cdc27a64ac..e99c94e28c47 100644
--- a/drivers/staging/rtl8723bs/hal/hal_btcoex.c
+++ b/drivers/staging/rtl8723bs/hal/hal_btcoex.c
@@ -15,9 +15,7 @@ struct btc_coexist GLBtCoexist;
 static u8 GLBtcWiFiInScanState;
 static u8 GLBtcWiFiInIQKState;
 
-/*  */
 /*		Debug related function */
-/*  */
 static u8 halbtcoutsrc_IsBtCoexistAvailable(struct btc_coexist *pBtCoexist)
 {
 	if (!pBtCoexist->bBinded || !pBtCoexist->Adapter)
@@ -197,11 +195,9 @@ static u32 _halbtcoutsrc_GetWifiLinkStatus(struct adapter *padapter)
 
 static u32 halbtcoutsrc_GetWifiLinkStatus(struct btc_coexist *pBtCoexist)
 {
-	/*  */
 	/*  return value: */
 	/*  [31:16]=> connected port number */
 	/*  [15:0]=> port connected bit define */
-	/*  */
 
 	struct adapter *padapter;
 	u32 retVal;
@@ -539,7 +535,6 @@ static u8 halbtcoutsrc_Set(void *pBtcContext, u8 setType, void *pInBuf)
 	case BTC_SET_ACT_CTRL_8723B_ANT:
 		ret = false;
 		break;
-	/*  */
 	default:
 		ret = false;
 		break;
@@ -548,9 +543,7 @@ static u8 halbtcoutsrc_Set(void *pBtcContext, u8 setType, void *pInBuf)
 	return ret;
 }
 
-/*  */
 /*		IO related function */
-/*  */
 static u8 halbtcoutsrc_Read1Byte(void *pBtcContext, u32 RegAddr)
 {
 	struct btc_coexist *pBtCoexist;
@@ -746,9 +739,7 @@ static void halbtcoutsrc_FillH2cCmd(void *pBtcContext, u8 elementId, u32 cmdLen,
 	rtw_hal_fill_h2c_cmd(padapter, elementId, cmdLen, pCmdBuffer);
 }
 
-/*  */
 /*		Extern functions called by other module */
-/*  */
 static u8 EXhalbtcoutsrc_BindBtCoexWithAdapter(void *padapter)
 {
 	struct btc_coexist *pBtCoexist = &GLBtCoexist;
@@ -1057,10 +1048,8 @@ void EXhalbtcoutsrc_PnpNotify(struct btc_coexist *pBtCoexist, u8 pnpState)
 	if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
 		return;
 
-	/*  */
 	/*  currently only 1ant we have to do the notification, */
 	/*  once pnp is notified to sleep state, we have to leave LPS that we can sleep normally. */
-	/*  */
 
 	if (pBtCoexist->boardInfo.btdmAntNum == 1)
 		EXhalbtc8723b1ant_PnpNotify(pBtCoexist, pnpState);
@@ -1100,9 +1089,7 @@ void EXhalbtcoutsrc_SetAntNum(u8 type, u8 antNum)
 	}
 }
 
-/*  */
 /*  Currently used by 8723b only, S0 or S1 */
-/*  */
 void EXhalbtcoutsrc_SetSingleAntPath(u8 singleAntPath)
 {
 	GLBtCoexist.boardInfo.singleAntPath = singleAntPath;
diff --git a/drivers/staging/rtl8723bs/hal/odm.c b/drivers/staging/rtl8723bs/hal/odm.c
index d18df407e365..0fe59304a35a 100644
--- a/drivers/staging/rtl8723bs/hal/odm.c
+++ b/drivers/staging/rtl8723bs/hal/odm.c
@@ -358,8 +358,6 @@ bool ODM_RAStateCheck(
 	return false;
 }
 
-/*  */
-
 /* 3 ============================================================ */
 /* 3 RSSI Monitor */
 /* 3 ============================================================ */
@@ -558,13 +556,9 @@ void ODM_TXPowerTrackingCheck(struct dm_odm_t *pDM_Odm)
 	}
 }
 
-/*  */
 /* 3 Export Interface */
-/*  */
 
-/*  */
 /*  2011/09/21 MH Add to describe different team necessary resource allocate?? */
-/*  */
 void ODM_DMInit(struct dm_odm_t *pDM_Odm)
 {
 
@@ -586,11 +580,9 @@ void ODM_DMInit(struct dm_odm_t *pDM_Odm)
 	odm_SwAntDetectInit(pDM_Odm);
 }
 
-/*  */
 /*  2011/09/20 MH This is the entry pointer for all team to execute HW out source DM. */
 /*  You can not add any dummy function here, be care, you can only use DM structure */
 /*  to perform any new ODM_DM. */
-/*  */
 void ODM_DMWatchdog(struct dm_odm_t *pDM_Odm)
 {
 	odm_CommonInfoSelfUpdate(pDM_Odm);
@@ -633,18 +625,12 @@ void ODM_DMWatchdog(struct dm_odm_t *pDM_Odm)
 	pDM_Odm->PhyDbgInfo.NumQryBeaconPkt = 0;
 }
 
-/*  */
 /*  Init /.. Fixed HW value. Only init time. */
-/*  */
 void ODM_CmnInfoInit(struct dm_odm_t *pDM_Odm, enum odm_cmninfo_e CmnInfo, u32 Value)
 {
-	/*  */
 	/*  This section is used for init value */
-	/*  */
 	switch (CmnInfo) {
-	/*  */
 	/*  Fixed ODM value. */
-	/*  */
 	case ODM_CMNINFO_ABILITY:
 		pDM_Odm->SupportAbility = (u32)Value;
 		break;
@@ -729,13 +715,9 @@ void ODM_CmnInfoInit(struct dm_odm_t *pDM_Odm, enum odm_cmninfo_e CmnInfo, u32 V
 
 void ODM_CmnInfoHook(struct dm_odm_t *pDM_Odm, enum odm_cmninfo_e CmnInfo, void *pValue)
 {
-	/*  */
 	/*  Hook call by reference pointer. */
-	/*  */
 	switch (CmnInfo) {
-	/*  */
 	/*  Dynamic call by reference pointer. */
-	/*  */
 	case ODM_CMNINFO_MAC_PHY_MODE:
 		pDM_Odm->pMacPhyMode = pValue;
 		break;
@@ -857,13 +839,9 @@ void ODM_CmnInfoPtrArrayHook(
 	void *pValue
 )
 {
-	/*  */
 	/*  Hook call by reference pointer. */
-	/*  */
 	switch (CmnInfo) {
-	/*  */
 	/*  Dynamic call by reference pointer. */
-	/*  */
 	case ODM_CMNINFO_STA_STATUS:
 		pDM_Odm->pODM_StaInfo[Index] = (PSTA_INFO_T)pValue;
 		break;
@@ -875,14 +853,10 @@ void ODM_CmnInfoPtrArrayHook(
 
 }
 
-/*  */
 /*  Update Band/CHannel/.. The values are dynamic but non-per-packet. */
-/*  */
 void ODM_CmnInfoUpdate(struct dm_odm_t *pDM_Odm, u32 CmnInfo, u64 Value)
 {
-	/*  */
 	/*  This init variable may be changed in run time. */
-	/*  */
 	switch (CmnInfo) {
 	case ODM_CMNINFO_LINK_IN_PROGRESS:
 		pDM_Odm->bLinkInProcess = (bool)Value;
diff --git a/drivers/staging/rtl8723bs/hal/odm_HWConfig.c b/drivers/staging/rtl8723bs/hal/odm_HWConfig.c
index 1716252641d3..34b0369a7936 100644
--- a/drivers/staging/rtl8723bs/hal/odm_HWConfig.c
+++ b/drivers/staging/rtl8723bs/hal/odm_HWConfig.c
@@ -46,9 +46,7 @@ s32 odm_signal_scale_mapping(struct dm_odm_t *dm_odm, s32 curr_sig)
 
 static u8 odm_evm_db_to_percentage(s8 value)
 {
-	/*  */
 	/*  -33dB~0dB to 0%~99% */
-	/*  */
 	s8 ret_val;
 
 	ret_val = value;
@@ -383,9 +381,7 @@ static void odm_Process_RSSIForDM(
 	}
 }
 
-/*  */
 /*  Endianness before calling this API */
-/*  */
 void odm_phy_status_query(struct dm_odm_t *dm_odm, struct odm_phy_info *phy_info,
 			  u8 *phy_status, struct odm_packet_info *pkt_info)
 {
@@ -396,10 +392,7 @@ void odm_phy_status_query(struct dm_odm_t *dm_odm, struct odm_phy_info *phy_info
 		odm_Process_RSSIForDM(dm_odm, phy_info, pkt_info);
 }
 
-/*  */
 /*  If you want to add a new IC, Please follow below template and generate a new one. */
-/*  */
-/*  */
 
 enum hal_status ODM_ConfigRFWithHeaderFile(
 	struct dm_odm_t *pDM_Odm,
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_dm.c b/drivers/staging/rtl8723bs/hal/rtl8723b_dm.c
index 13efbfa5b58a..5e291bdb61c5 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723b_dm.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723b_dm.c
@@ -12,9 +12,7 @@
 
 /*  Global var */
 
-/*  */
 /*  functions */
-/*  */
 static void Init_ODM_ComInfo_8723b(struct adapter *Adapter)
 {
 
@@ -23,9 +21,7 @@ static void Init_ODM_ComInfo_8723b(struct adapter *Adapter)
 	struct dm_priv *pdmpriv = &pHalData->dmpriv;
 	u8 cut_ver, fab_ver;
 
-	/*  */
 	/*  Init Value */
-	/*  */
 	memset(pDM_Odm, 0, sizeof(*pDM_Odm));
 
 	pDM_Odm->Adapter = Adapter;
@@ -76,9 +72,7 @@ static void Update_ODM_ComInfo_8723b(struct adapter *Adapter)
 		| ODM_RF_CALIBRATION
 		;
 
-	/*  */
 	/*  Pointer reference */
-	/*  */
 	/* ODM_CMNINFO_MAC_PHY_MODE pHalData->MacPhyMode92D */
 	/* ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_MAC_PHY_MODE,&(pDM_Odm->u8_temp)); */
 
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c b/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
index 1389e5598d3e..789133cc1c59 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
@@ -281,11 +281,8 @@ void rtl8723b_FirmwareSelfReset(struct adapter *padapter)
 	}
 }
 
-/*  */
 /*	Description: */
 /*		Download 8192C firmware code. */
-/*  */
-/*  */
 s32 rtl8723b_FirmwareDownload(struct adapter *padapter, bool  bUsedWoWLANFw)
 {
 	s32 rtStatus = _SUCCESS;
@@ -435,9 +432,7 @@ void rtl8723b_InitializeFirmwareVars(struct adapter *padapter)
 /* pHalData->H2CStopInsertQueue = false; */
 }
 
-/*  */
 /*				Efuse related code */
-/*  */
 static u8 hal_EfuseSwitchToBank(
 	struct adapter *padapter, u8 bank
 )
@@ -628,9 +623,7 @@ static void hal_ReadEFuse_WiFi(
 	u16 i, total, used;
 	u8 efuse_usage = 0;
 
-	/*  */
 	/*  Do NOT excess total size of EFuse table. Added by Roger, 2008.11.10. */
-	/*  */
 	if ((_offset + _size_byte) > EFUSE_MAX_MAP_LEN)
 		return;
 
@@ -717,9 +710,7 @@ static void hal_ReadEFuse_BT(
 	u16 i, total, used;
 	u8 efuse_usage;
 
-	/*  */
 	/*  Do NOT excess total size of EFuse table. Added by Roger, 2008.11.10. */
-	/*  */
 	if ((_offset + _size_byte) > EFUSE_BT_MAP_LEN)
 		return;
 
@@ -791,9 +782,7 @@ static void hal_ReadEFuse_BT(
 	for (i = 0; i < _size_byte; i++)
 		pbuf[i] = efuseTbl[_offset+i];
 
-	/*  */
 	/*  Calculate Efuse utilization. */
-	/*  */
 	Hal_GetEfuseDefinition(padapter, EFUSE_BT, TYPE_AVAILABLE_EFUSE_BYTES_TOTAL, &total);
 	used = (EFUSE_BT_REAL_BANK_CONTENT_LEN*(bank-1)) + eFuse_Addr - 1;
 	efuse_usage = (u8)((used*100)/total);
@@ -932,23 +921,17 @@ void rtl8723b_SetBeaconRelatedRegisters(struct adapter *padapter)
 
 	bcn_ctrl_reg = REG_BCN_CTRL;
 
-	/*  */
 	/*  ATIM window */
-	/*  */
 	rtw_write16(padapter, REG_ATIMWND, 2);
 
-	/*  */
 	/*  Beacon interval (in unit of TU). */
-	/*  */
 	rtw_write16(padapter, REG_BCN_INTERVAL, pmlmeinfo->bcn_interval);
 
 	rtl8723b_InitBeaconParameters(padapter);
 
 	rtw_write8(padapter, REG_SLOT, 0x09);
 
-	/*  */
 	/*  Reset TSF Timer to zero, added by Roger. 2008.06.24 */
-	/*  */
 	value32 = rtw_read32(padapter, REG_TCR);
 	value32 &= ~TSFRST;
 	rtw_write32(padapter, REG_TCR, value32);
@@ -1084,11 +1067,7 @@ u8 GetEEPROMSize8723B(struct adapter *padapter)
 	return size;
 }
 
-/*  */
-/*  */
 /*  LLT R/W/Init function */
-/*  */
-/*  */
 s32 rtl8723b_InitLLTTable(struct adapter *padapter)
 {
 	unsigned long start, passing_time;
@@ -1448,9 +1427,7 @@ void Hal_EfuseParseThermalMeter_8723B(
 {
 	struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
 
-	/*  */
 	/*  ThermalMeter from EEPROM */
-	/*  */
 	if (!AutoLoadFail)
 		pHalData->EEPROMThermalMeter = PROMContent[EEPROM_THERMAL_METER_8723B];
 	else
@@ -1464,10 +1441,7 @@ void Hal_ReadRFGainOffset(
 	struct adapter *Adapter, u8 *PROMContent, bool AutoloadFail
 )
 {
-	/*  */
 	/*  BB_RF Gain Offset from EEPROM */
-	/*  */
-
 	if (!AutoloadFail) {
 		Adapter->eeprompriv.EEPROMRFGainOffset = PROMContent[EEPROM_RF_GAIN_OFFSET];
 		Adapter->eeprompriv.EEPROMRFGainVal = rtw_efuse_read_1_byte(Adapter,
@@ -1771,12 +1745,10 @@ void rtl8723b_update_txdesc(struct xmit_frame *pxmitframe, u8 *pbuf)
 	rtl8723b_cal_txdesc_chksum(pdesc);
 }
 
-/*  */
 /*  Description: In normal chip, we should send some packet to Hw which will be used by Fw */
 /*			in FW LPS mode. The function is to fill the Tx descriptor of this packets, then */
 /*			Fw can tell Hw to send these packet derectly. */
 /*  Added by tynli. 2009.10.15. */
-/*  */
 /* type1:pspoll, type2:null */
 void rtl8723b_fill_fake_txdesc(
 	struct adapter *padapter,
@@ -1814,9 +1786,7 @@ void rtl8723b_fill_fake_txdesc(
 
 	SET_TX_DESC_TX_RATE_8723B(pDesc, DESC8723B_RATE1M);
 
-	/*  */
 	/*  Encrypt the data frame if under security mode excepct null data. Suggested by CCW. */
-	/*  */
 	if (bDataFrame) {
 		u32 EncAlg = padapter->securitypriv.dot11_privacy_algrthm;
 
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c b/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c
index 737e2a818c18..affad2a65e87 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c
@@ -79,9 +79,7 @@ void PHY_SetBBReg_8723B(
 	rtw_write32(Adapter, RegAddr, Data);
 }
 
-/*  */
 /*  2. RF register R/W API */
-/*  */
 
 static u32 phy_RFSerialRead_8723B(
 	struct adapter *Adapter, enum rf_path eRFPath, u32 Offset
@@ -96,9 +94,7 @@ static u32 phy_RFSerialRead_8723B(
 	u32 MaskforPhySet = 0;
 	int i = 0;
 
-	/*  */
 	/*  Make sure RF register offset is correct */
-	/*  */
 	Offset &= 0xff;
 
 	NewOffset = Offset;
@@ -189,18 +185,13 @@ static void phy_RFSerialWrite_8723B(
 
 	Offset &= 0xff;
 
-	/*  */
 	/*  Switch page for 8256 RF IC */
-	/*  */
 	NewOffset = Offset;
 
-	/*  */
 	/*  Put write addr in [5:0]  and write data in [31:16] */
-	/*  */
 	DataAndAddr = ((NewOffset << 20) | (Data & 0x000fffff)) & 0x0fffffff;	/*  T65 RF */
-	/*  */
+
 	/*  Write Operation */
-	/*  */
 	PHY_SetBBReg(Adapter, pPhyReg->rf3wireOffset, bMaskDWord, DataAndAddr);
 }
 
@@ -265,9 +256,7 @@ void PHY_SetRFReg_8723B(
 	phy_RFSerialWrite_8723B(Adapter, eRFPath, RegAddr, Data);
 }
 
-/*  */
 /*  3. Initial MAC/BB/RF config by reading MAC/BB/RF txt. */
-/*  */
 
 /*-----------------------------------------------------------------------------
  * PHY_MACConfig8192C - Config MAC by header file or parameter file.
@@ -333,9 +322,7 @@ static int phy_BB8723b_Config_ParaFile(struct adapter *Adapter)
 	   pHalData->EEPROMRegulatory == 1))
 		ODM_ConfigRFWithHeaderFile(&pHalData->odmpriv, CONFIG_RF_TXPWR_LMT, 0);
 
-	/*  */
 	/*  1. Read PHY_REG.TXT BB INIT!! */
-	/*  */
 	ODM_ConfigBBWithHeaderFile(&pHalData->odmpriv, CONFIG_BB_PHY_REG);
 
 	/*  If EEPROM or EFUSE autoload OK, We must config by PHY_REG_PG.txt */
@@ -355,9 +342,7 @@ static int phy_BB8723b_Config_ParaFile(struct adapter *Adapter)
 			PHY_ConvertTxPowerLimitToPowerIndex(Adapter);
 	}
 
-	/*  */
 	/*  2. Read BB AGC table Initialization */
-	/*  */
 	ODM_ConfigBBWithHeaderFile(&pHalData->odmpriv, CONFIG_BB_AGC_TAB);
 
 	return _SUCCESS;
@@ -389,9 +374,7 @@ int PHY_BBConfig8723B(struct adapter *Adapter)
 
 	rtw_write8(Adapter, REG_AFE_XTAL_CTRL + 1, 0x80);
 
-	/*  */
 	/*  Config BB and AGC */
-	/*  */
 	rtStatus = phy_BB8723b_Config_ParaFile(Adapter);
 
 	/*  0x2C[23:18] = 0x2C[17:12] = CrystalCap */
@@ -413,9 +396,7 @@ int PHY_RFConfig8723B(struct adapter *Adapter)
 {
 	int rtStatus = _SUCCESS;
 
-	/*  */
 	/*  RF config */
-	/*  */
 	rtStatus = PHY_RF6052_Config8723B(Adapter);
 
 	phy_LCK_8723B(Adapter);
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c b/drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c
index e4f047b14827..c8b2875b909c 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c
@@ -125,9 +125,7 @@ static int phy_RF6052_Config_ParaFile(struct adapter *Adapter)
 
 int PHY_RF6052_Config8723B(struct adapter *Adapter)
 {
-	/*  */
 	/*  Config BB and RF */
-	/*  */
 	return phy_RF6052_Config_ParaFile(Adapter);
 
 }
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_rxdesc.c b/drivers/staging/rtl8723bs/hal/rtl8723b_rxdesc.c
index ac1249676794..5105b060f6a1 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723b_rxdesc.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723b_rxdesc.c
@@ -52,9 +52,7 @@ static void process_link_qual(struct adapter *padapter, union recv_frame *prfram
 void rtl8723b_process_phy_info(struct adapter *padapter, void *prframe)
 {
 	union recv_frame *precvframe = prframe;
-	/*  */
 	/*  Check RSSI */
-	/*  */
 	process_rssi(padapter, precvframe);
 	/*  */
 	/*  Check PWDB. */
@@ -62,8 +60,6 @@ void rtl8723b_process_phy_info(struct adapter *padapter, void *prframe)
 	/* process_PWDB(padapter, precvframe); */
 
 	/* UpdateRxSignalStatistics8192C(Adapter, pRfd); */
-	/*  */
 	/*  Check EVM */
-	/*  */
 	process_link_qual(padapter,  precvframe);
 }
diff --git a/drivers/staging/rtl8723bs/hal/sdio_halinit.c b/drivers/staging/rtl8723bs/hal/sdio_halinit.c
index 001b4b32c02e..aa12bd906302 100644
--- a/drivers/staging/rtl8723bs/hal/sdio_halinit.c
+++ b/drivers/staging/rtl8723bs/hal/sdio_halinit.c
@@ -492,9 +492,7 @@ static void _InitOperationMode(struct adapter *padapter)
 	pmlmeext = &padapter->mlmeextpriv;
 
 	/* 1 This part need to modified according to the rate set we filtered!! */
-	/*  */
 	/*  Set RRSR, RATR, and REG_BWOPMODE registers */
-	/*  */
 	switch (pmlmeext->cur_wireless_mode) {
 	case WIRELESS_MODE_B:
 		regBwOpMode = BW_OPMODE_20MHZ;
@@ -527,9 +525,7 @@ static void _InitInterrupt(struct adapter *padapter)
 	/*  HIMR - turn all off */
 	rtw_write32(padapter, REG_HIMR, 0);
 
-	/*  */
 	/*  Initialize and enable SDIO Host Interrupt. */
-	/*  */
 	InitInterrupt8723BSdio(padapter);
 }
 
@@ -619,9 +615,7 @@ u32 rtl8723bs_hal_init(struct adapter *padapter)
 	ret = PHY_MACConfig8723B(padapter);
 	if (ret != _SUCCESS)
 		return ret;
-	/*  */
 	/* d. Initialize BB related configurations. */
-	/*  */
 	ret = PHY_BBConfig8723B(padapter);
 	if (ret != _SUCCESS)
 		return ret;
@@ -635,9 +629,7 @@ u32 rtl8723bs_hal_init(struct adapter *padapter)
 			return ret;
 	}
 
-	/*  */
 	/*  Joseph Note: Keep RfRegChnlVal for later use. */
-	/*  */
 	pHalData->RfRegChnlVal[0] =
 		PHY_QueryRFReg(padapter, (enum rf_path)0, RF_CHNLBW, bRFRegOffsetMask);
 	pHalData->RfRegChnlVal[1] =
@@ -651,7 +643,6 @@ u32 rtl8723bs_hal_init(struct adapter *padapter)
 	if (ret != _SUCCESS)
 		return _FAIL;
 
-	/*  */
 	_InitQueuePriority(padapter);
 	_InitPageBoundary(padapter);
 	_InitTransferPageSize(padapter);
@@ -684,29 +675,23 @@ u32 rtl8723bs_hal_init(struct adapter *padapter)
 
 	rtl8723b_InitAntenna_Selection(padapter);
 
-	/*  */
 	/*  Disable BAR, suggested by Scott */
 	/*  2010.04.09 add by hpfan */
-	/*  */
 	rtw_write32(padapter, REG_BAR_MODE_CTRL, 0x0201ffff);
 
 	/*  HW SEQ CTRL */
 	/*  set 0x0 to 0xFF by tynli. Default enable HW SEQ NUM. */
 	rtw_write8(padapter, REG_HWSEQ_CTRL, 0xFF);
 
-	/*  */
 	/*  Configure SDIO TxRx Control to enable Rx DMA timer masking. */
 	/*  2010.02.24. */
-	/*  */
 	rtw_write32(padapter, SDIO_LOCAL_BASE | SDIO_REG_TX_CTRL, 0);
 
 	_RfPowerSave(padapter);
 
 	rtl8723b_InitHalDm(padapter);
 
-	/*  */
 	/*  Update current Tx FIFO page status. */
-	/*  */
 	HalQueryTxBufferStatus8723BSdio(padapter);
 	HalQueryTxOQTBufferStatus8723BSdio(padapter);
 	pHalData->SdioTxOQTMaxFreeSpace = pHalData->SdioTxOQTFreeSpace;
@@ -774,12 +759,9 @@ u32 rtl8723bs_hal_init(struct adapter *padapter)
 	return _SUCCESS;
 }
 
-/*  */
 /*  Description: */
 /*	RTL8723e card disable power sequence v003 which suggested by Scott. */
-/*  */
 /*  First created by tynli. 2011.01.28. */
-/*  */
 static void CardDisableRTL8723BSdio(struct adapter *padapter)
 {
 	u8 val;
@@ -924,15 +906,11 @@ void rtl8723bs_interface_configure(struct adapter *padapter)
 	Hal_MappingOutPipe(padapter, pHalData->OutEpNumber);
 }
 
-/*  */
 /*	Description: */
 /*		We should set Efuse cell selection to WiFi cell in default. */
-/*  */
 /*	Assumption: */
 /*		PASSIVE_LEVEL */
-/*  */
 /*	Added by Roger, 2010.11.23. */
-/*  */
 static void _EfuseCellSel(struct adapter *padapter)
 {
 	u32 value32;
@@ -976,10 +954,7 @@ static void _ReadEfuseInfo8723BS(struct adapter *padapter)
 	struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter);
 	u8 *hwinfo = NULL;
 
-	/*  */
 	/*  This part read and parse the eeprom/efuse content */
-	/*  */
-
 	hwinfo = pEEPROM->efuse_eeprom_data;
 
 	Hal_InitPGData(padapter, hwinfo);
@@ -991,9 +966,7 @@ static void _ReadEfuseInfo8723BS(struct adapter *padapter)
 	Hal_EfuseParseTxPowerInfo_8723B(padapter, hwinfo, pEEPROM->bautoload_fail_flag);
 	Hal_EfuseParseBoardType_8723BS(padapter, hwinfo, pEEPROM->bautoload_fail_flag);
 
-	/*  */
 	/*  Read Bluetooth co-exist and initialize */
-	/*  */
 	Hal_EfuseParsePackageType_8723B(padapter, hwinfo, pEEPROM->bautoload_fail_flag);
 	Hal_EfuseParseBTCoexistInfo_8723B(padapter, hwinfo, pEEPROM->bautoload_fail_flag);
 	Hal_EfuseParseChnlPlan_8723B(padapter, hwinfo, pEEPROM->bautoload_fail_flag);
@@ -1018,14 +991,10 @@ static void _ReadPROMContent(struct adapter *padapter)
 	_ReadEfuseInfo8723BS(padapter);
 }
 
-/*  */
 /*	Description: */
 /*		Read HW adapter information by E-Fuse or EEPROM according CR9346 reported. */
-/*  */
 /*	Assumption: */
 /*		PASSIVE_LEVEL (SDIO interface) */
-/*  */
-/*  */
 static s32 _ReadAdapterInfo8723BS(struct adapter *padapter)
 {
 	u8 val8;
@@ -1139,10 +1108,8 @@ void SetHwRegWithBuf8723B(struct adapter *padapter, u8 variable, u8 *pbuf, int l
 	}
 }
 
-/*  */
 /*	Description: */
 /*		Query setting of specified variable. */
-/*  */
 u8 GetHalDefVar8723BSDIO(
 	struct adapter *Adapter, enum hal_def_variable eVariable, void *pValue
 )
diff --git a/drivers/staging/rtl8723bs/hal/sdio_ops.c b/drivers/staging/rtl8723bs/hal/sdio_ops.c
index da2d9088ab5a..265e773e3226 100644
--- a/drivers/staging/rtl8723bs/hal/sdio_ops.c
+++ b/drivers/staging/rtl8723bs/hal/sdio_ops.c
@@ -7,12 +7,9 @@
 #include <drv_types.h>
 #include <rtl8723b_hal.h>
 
-/*  */
 /*  Description: */
 /*	The following mapping is for SDIO host local register space. */
-/*  */
 /*  Creadted by Roger, 2011.01.31. */
-/*  */
 static void hal_sdio_get_cmd_addr_8723b(struct adapter *adapter, u8 device_id,
 					u32 addr, u32 *cmdaddr)
 {
@@ -562,15 +559,11 @@ static s32 read_interrupt_8723b_sdio(struct adapter *adapter, u32 *phisr)
 	return true;
 }
 
-/*  */
 /*	Description: */
 /*		Initialize SDIO Host Interrupt Mask configuration variables for future use. */
-/*  */
 /*	Assumption: */
 /*		Using SDIO Local register ONLY for configuration. */
-/*  */
 /*	Created by Roger, 2011.02.11. */
-/*  */
 void InitInterrupt8723BSdio(struct adapter *adapter)
 {
 	struct hal_com_data *haldata;
@@ -598,11 +591,9 @@ void rtw_sdio_enable_interrupt(struct adapter *adapter)
 	himr = cpu_to_le32(haldata->sdio_himr);
 	sdio_local_write(adapter, SDIO_REG_HIMR, 4, (u8 *)&himr);
 
-	/*  */
 	/*  <Roger_Notes> There are some C2H CMDs have been sent before system interrupt is enabled, e.g., C2H, CPWM. */
 	/*  So we need to clear all C2H events that FW has notified, otherwise FW won't schedule any commands anymore. */
 	/*  2011.10.19. */
-	/*  */
 	rtw_write8(adapter, REG_C2HEVT_CLEAR, C2H_EVT_HOST_CLOSE);
 }
 
@@ -620,15 +611,11 @@ void rtw_sdio_disable_interrupt(struct adapter *adapter)
 	sdio_local_write(adapter, SDIO_REG_HIMR, 4, (u8 *)&himr);
 }
 
-/*  */
 /*	Description: */
 /*		Using 0x100 to check the power status of FW. */
-/*  */
 /*	Assumption: */
 /*		Using SDIO Local register ONLY for configuration. */
-/*  */
 /*	Created by Isaac, 2013.09.10. */
-/*  */
 u8 CheckIPSStatus(struct adapter *adapter)
 {
 	if (rtw_read8(adapter, 0x100) == 0xEA)
@@ -826,16 +813,12 @@ void sd_int_hdl(struct adapter *adapter)
 	}
 }
 
-/*  */
 /*	Description: */
 /*		Query SDIO Local register to query current the number of Free TxPacketBuffer page. */
-/*  */
 /*	Assumption: */
 /*		1. Running at PASSIVE_LEVEL */
 /*		2. RT_TX_SPINLOCK is NOT acquired. */
-/*  */
 /*	Created by Roger, 2011.01.28. */
-/*  */
 u8 HalQueryTxBufferStatus8723BSdio(struct adapter *adapter)
 {
 	struct hal_com_data *hal;
diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
index 4416d0ec1db9..896c457decf7 100644
--- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
+++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
@@ -595,7 +595,7 @@ static int rtw_cfg80211_ap_set_encryption(struct net_device *dev, struct ieee_pa
 
 			psecuritypriv->binstallGrpkey = true;
 
-			psecuritypriv->dot11_privacy_algrthm = psecuritypriv->dot118021XGrpPrivacy;/*  */
+			psecuritypriv->dot11_privacy_algrthm = psecuritypriv->dot118021XGrpPrivacy;
 
 			rtw_ap_set_group_key(padapter, param->u.crypt.key, psecuritypriv->dot118021XGrpPrivacy, param->u.crypt.idx);
 
@@ -669,7 +669,7 @@ static int rtw_cfg80211_ap_set_encryption(struct net_device *dev, struct ieee_pa
 
 				psecuritypriv->binstallGrpkey = true;
 
-				psecuritypriv->dot11_privacy_algrthm = psecuritypriv->dot118021XGrpPrivacy;/*  */
+				psecuritypriv->dot11_privacy_algrthm = psecuritypriv->dot118021XGrpPrivacy;
 
 				rtw_ap_set_group_key(padapter, param->u.crypt.key, psecuritypriv->dot118021XGrpPrivacy, param->u.crypt.idx);
 
diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
index c15056ee207c..0b7b58e340a7 100644
--- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c
+++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
@@ -24,9 +24,9 @@ static int rtw_network_mode = NL80211_IFTYPE_ADHOC;/* infra, ad-hoc, auto */
 static int rtw_channel = 1;/* ad-hoc support requirement */
 static int rtw_wireless_mode = WIRELESS_11BG_24N;
 static int rtw_vrtl_carrier_sense = AUTO_VCS;
-static int rtw_vcs_type = RTS_CTS;/*  */
-static int rtw_rts_thresh = 2347;/*  */
-static int rtw_frag_thresh = 2346;/*  */
+static int rtw_vcs_type = RTS_CTS;
+static int rtw_rts_thresh = 2347;
+static int rtw_frag_thresh = 2346;
 static int rtw_preamble = PREAMBLE_LONG;/* long, short, auto */
 static int rtw_scan_mode = 1;/* active, passive */
 static int rtw_adhoc_tx_pwr = 1;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-11 19:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-11 19:33 [PATCH 0/2] staging: rtl8723bs: delete more empty comment lines Jennifer Guo
2026-09-11 19:33 ` [PATCH 1/2] staging: rtl8723bs: delete empty comment lines in hal/ header files Jennifer Guo
2026-09-11 19:33 ` [PATCH 2/2] staging: rtl8723bs: delete empty comment lines in source files Jennifer Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.