mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
10f0c1ef2c
commit
84aa0f7b20
@@ -391,8 +391,6 @@ void update_bmc_sta(struct adapter *padapter)
|
||||
|
||||
memset((void *)&psta->sta_stats, 0, sizeof(struct stainfo_stats));
|
||||
|
||||
/* psta->dot118021XPrivacy = _NO_PRIVACY_;//!!! remove it, because it has been set before this. */
|
||||
|
||||
/* prepare for add_RATid */
|
||||
supportRateNum = rtw_get_rateset_len((u8 *)&pcur_network->supported_rates);
|
||||
network_type = rtw_check_network_type((u8 *)&pcur_network->supported_rates,
|
||||
|
||||
Reference in New Issue
Block a user