[PATCH v2 1/2] staging: rtl8723bs: remove dead code in rtl8723b_download_BTCoex_AP_mode_rsvd_page

From: Tomasz Unger

Date: Sat Sep 05 2026 - 13:19:42 EST


Remove a commented-out mdelay(10) call left over as dead code in the
polling loop.

Signed-off-by: Tomasz Unger <tomasz.unger@xxxxxxxx>
---
Changes in v2 (per Dan Carpenter's review):
- Instead of just fixing the stray space before a tab in the comment,
remove the commented-out mdelay(10) line entirely, since it is dead
code ("Just delete dead code").
- Add an Assisted-by: trailer disclosing AI assistance, per
Documentation/process/coding-assistants.rst (the original v1 had no
such disclosure).

Verified with checkpatch.pl - no new warnings introduced by this change
(and removes a pre-existing "space before tabs" warning on the deleted line).

Assisted-by: Claude:claude-sonnet-5
---
drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c b/drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c
index d2b44ad60a4c..d998758f7fcc 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c
@@ -895,7 +895,6 @@ void rtl8723b_download_BTCoex_AP_mode_rsvd_page(struct adapter *padapter)
DLBcnCount++;
do {
yield();
-/* mdelay(10); */
/* check rsvd page download OK. */
rtw_hal_get_hwreg(padapter, HW_VAR_BCN_VALID, &bcn_valid);
poll++;

--
2.55.0