Skip to contentSkip to conversation

staging: rtl8723bs: Remove commented-out dead code in hal_btcoex.c

PATCH New Moksh Panicker 1 participant 1 message May 3 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rtl8723bs: Remove commented-out dead code in hal_btcoex.c

Remove three commented-out lines of dead code that are never executed. Keeping commented-out code is discouraged as it clutters the codebase and serves no purpose.

---
 drivers/staging/rtl8723bs/hal/hal_btcoex.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/staging/rtl8723bs/hal/hal_btcoex.c +0 -3
index 2a2dd60be8bb..aab68aa299c8 100644
@@ -402,9 +402,6 @@ static u8 halbtcoutsrc_Get(void *pBtcContext, u8 getType, void *pOutBuf)
 
 	case BTC_GET_U1_MAC_PHY_MODE:
 		*pu8 = BTC_SMSP;
-/* 			*pU1Tmp = BTC_DMSP; */
-/* 			*pU1Tmp = BTC_DMDP; */
-/* 			*pU1Tmp = BTC_MP_UNKNOWN; */
 		break;
 
 	case BTC_GET_U1_AP_NUM:
Signature · 1 line
2.34.1