]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: rtl8723bs: remove unused 'ratelen' parameter from rtw_check_network_type()
authorNikolay Kulikov <nikolayof23@gmail.com>
Sat, 28 Feb 2026 13:09:06 +0000 (16:09 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Mar 2026 16:28:44 +0000 (17:28 +0100)
commit3c7fe1b403d4118ae0f6ffc937caf25aca7b871c
tree73f983d57079afcbabe8ff71767061cbc2c9f33b
parentebfef080cd965962d455dabe452fec50913e4759
staging: rtl8723bs: remove unused 'ratelen' parameter from rtw_check_network_type()

The rtw_check_network_type() function takes a 'ratelen' parameter, but
does not use it in any way. Also remove the local variable in rtw_ap.c
created just to pass a value to this unused parameter.

Signed-off-by: Nikolay Kulikov <nikolayof23@gmail.com>
Reviewed-by: Ethan Tidmore <ethantidmore06@gmail.com>
Link: https://patch.msgid.link/20260228130917.4123-1-nikolayof23@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_ap.c
drivers/staging/rtl8723bs/core/rtw_ieee80211.c
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
drivers/staging/rtl8723bs/include/ieee80211.h