Skip to content

Commit 84aa0f7

Browse files
ethereal-2kgregkh
authored andcommitted
staging: rtl8723bs: remove dead code in rtw_ap.c
This patch removes a commented-out assignment to psta->dot118021XPrivacy in rtw_ap.c. The comment indicates that the statement is no longer needed, so keeping it adds no value. Removing this line (and the superfluous blank line that remained with it) improves code readability and matches kernel coding style. This is a cleanup only. No functional changes. Signed-off-by: Rohan Tripathi <trohan2000@gmail.com> Link: https://lore.kernel.org/r/20251007091303.491115-3-trohan2000@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 10f0c1e commit 84aa0f7

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/staging/rtl8723bs/core/rtw_ap.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,8 +391,6 @@ void update_bmc_sta(struct adapter *padapter)
391391

392392
memset((void *)&psta->sta_stats, 0, sizeof(struct stainfo_stats));
393393

394-
/* psta->dot118021XPrivacy = _NO_PRIVACY_;//!!! remove it, because it has been set before this. */
395-
396394
/* prepare for add_RATid */
397395
supportRateNum = rtw_get_rateset_len((u8 *)&pcur_network->supported_rates);
398396
network_type = rtw_check_network_type((u8 *)&pcur_network->supported_rates,

0 commit comments

Comments
 (0)