* [PATCH] staging: rtl8723bs: Remove dead code
@ 2026-03-12 12:53 Bera Yüzlü
2026-03-13 3:08 ` Ethan Tidmore
2026-03-18 15:37 ` Greg KH
0 siblings, 2 replies; 3+ messages in thread
From: Bera Yüzlü @ 2026-03-12 12:53 UTC (permalink / raw)
To: gregkh; +Cc: linux-staging, linux-kernel, ethantidmore06, Bera Yüzlü
Clean up the dm_odm_t structure by removing commented-out members and
related legacy comments.
Signed-off-by: Bera Yüzlü <b9788213@gmail.com>
---
drivers/staging/rtl8723bs/hal/odm.h | 33 -----------------------------
1 file changed, 33 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/odm.h b/drivers/staging/rtl8723bs/hal/odm.h
index 38830552d..d77763d28 100644
--- a/drivers/staging/rtl8723bs/hal/odm.h
+++ b/drivers/staging/rtl8723bs/hal/odm.h
@@ -650,10 +650,6 @@ struct ant_detected_info {
/* 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 timer_list FastAntTrainingTimer; */
- /* */
- /* Add for different team use temporarily */
- /* */
struct adapter *Adapter; /* For CE/NIC team */
/* WHen you use Adapter or priv pointer, you must make sure the pointer is ready. */
bool odm_ready;
@@ -673,17 +669,6 @@ struct dm_odm_t { /* DM_Out_Source_Dynamic_Mechanism_Structure */
u8 ControlChannel;
/* ODM HANDLE, DRIVER NEEDS NOT TO HOOK------ */
-/* REMOVED COMMON INFO---------- */
- /* u8 PseudoMacPhyMode; */
- /* bool *BTCoexist; */
- /* bool PseudoBtCoexist; */
- /* u8 OPMode; */
- /* bool bAPMode; */
- /* bool bClientMode; */
- /* bool bAdHocMode; */
- /* bool bSlaveOfDMSP; */
-/* REMOVED COMMON INFO---------- */
-
/* 1 COMMON INFORMATION */
/* */
@@ -871,13 +856,6 @@ struct dm_odm_t { /* DM_Out_Source_Dynamic_Mechanism_Structure */
struct odm_mac_status_info *pMacInfo;
/* MAC_INFO_88E MacInfo; */
- /* Different Team independent structure?? */
-
- /* */
- /* TX_RTP_CMN TX_retrpo; */
- /* TX_RTP_88E TX_retrpo; */
- /* TX_RTP_8195 TX_retrpo; */
-
/* */
/* ODM Structure */
/* */
@@ -901,17 +879,6 @@ struct dm_odm_t { /* DM_Out_Source_Dynamic_Mechanism_Structure */
/* ================================================== */
/* */
- /* common */
- /* u8 DM_Type; */
- /* u8 PSD_Report_RXHP[80]; Add By Gary */
- /* u8 PSD_func_flag; Add By Gary */
- /* for DIG */
- /* u8 bDMInitialGainEnable; */
- /* u8 binitialized; for dm_initial_gain_Multi_STA use. */
- /* for Antenna diversity */
- /* u8 AntDivCfg; 0:OFF , 1:ON, 2:by efuse */
- /* PSTA_INFO_T RSSI_target; */
-
bool *pbDriverStopped;
bool *pbDriverIsGoingToPnpSetPowerSleep;
bool *pinit_adpt_in_progress;
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] staging: rtl8723bs: Remove dead code
2026-03-12 12:53 [PATCH] staging: rtl8723bs: Remove dead code Bera Yüzlü
@ 2026-03-13 3:08 ` Ethan Tidmore
2026-03-18 15:37 ` Greg KH
1 sibling, 0 replies; 3+ messages in thread
From: Ethan Tidmore @ 2026-03-13 3:08 UTC (permalink / raw)
To: Bera Yüzlü, gregkh; +Cc: linux-staging, linux-kernel, ethantidmore06
On Thu Mar 12, 2026 at 7:53 AM CDT, Bera Yüzlü wrote:
> Clean up the dm_odm_t structure by removing commented-out members and
> related legacy comments.
>
> Signed-off-by: Bera Yüzlü <b9788213@gmail.com>
> ---
LGTM.
Reviewed-by: Ethan Tidmore <ethantidmore06@gmail.com>
Thanks,
ET
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] staging: rtl8723bs: Remove dead code
2026-03-12 12:53 [PATCH] staging: rtl8723bs: Remove dead code Bera Yüzlü
2026-03-13 3:08 ` Ethan Tidmore
@ 2026-03-18 15:37 ` Greg KH
1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2026-03-18 15:37 UTC (permalink / raw)
To: Bera Yüzlü; +Cc: linux-staging, linux-kernel, ethantidmore06
On Thu, Mar 12, 2026 at 03:53:38PM +0300, Bera Yüzlü wrote:
> Clean up the dm_odm_t structure by removing commented-out members and
> related legacy comments.
>
> Signed-off-by: Bera Yüzlü <b9788213@gmail.com>
> ---
> drivers/staging/rtl8723bs/hal/odm.h | 33 -----------------------------
> 1 file changed, 33 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/hal/odm.h b/drivers/staging/rtl8723bs/hal/odm.h
> index 38830552d..d77763d28 100644
> --- a/drivers/staging/rtl8723bs/hal/odm.h
> +++ b/drivers/staging/rtl8723bs/hal/odm.h
> @@ -650,10 +650,6 @@ struct ant_detected_info {
> /* 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 timer_list FastAntTrainingTimer; */
> - /* */
> - /* Add for different team use temporarily */
> - /* */
> struct adapter *Adapter; /* For CE/NIC team */
> /* WHen you use Adapter or priv pointer, you must make sure the pointer is ready. */
> bool odm_ready;
> @@ -673,17 +669,6 @@ struct dm_odm_t { /* DM_Out_Source_Dynamic_Mechanism_Structure */
> u8 ControlChannel;
> /* ODM HANDLE, DRIVER NEEDS NOT TO HOOK------ */
>
> -/* REMOVED COMMON INFO---------- */
> - /* u8 PseudoMacPhyMode; */
> - /* bool *BTCoexist; */
> - /* bool PseudoBtCoexist; */
> - /* u8 OPMode; */
> - /* bool bAPMode; */
> - /* bool bClientMode; */
> - /* bool bAdHocMode; */
> - /* bool bSlaveOfDMSP; */
> -/* REMOVED COMMON INFO---------- */
> -
> /* 1 COMMON INFORMATION */
>
> /* */
> @@ -871,13 +856,6 @@ struct dm_odm_t { /* DM_Out_Source_Dynamic_Mechanism_Structure */
> struct odm_mac_status_info *pMacInfo;
> /* MAC_INFO_88E MacInfo; */
>
> - /* Different Team independent structure?? */
> -
> - /* */
> - /* TX_RTP_CMN TX_retrpo; */
> - /* TX_RTP_88E TX_retrpo; */
> - /* TX_RTP_8195 TX_retrpo; */
> -
> /* */
> /* ODM Structure */
> /* */
> @@ -901,17 +879,6 @@ struct dm_odm_t { /* DM_Out_Source_Dynamic_Mechanism_Structure */
> /* ================================================== */
> /* */
>
> - /* common */
This line should not have been removed, right?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-03-18 15:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-12 12:53 [PATCH] staging: rtl8723bs: Remove dead code Bera Yüzlü
2026-03-13 3:08 ` Ethan Tidmore
2026-03-18 15:37 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox