]> git.ipfire.org Git - thirdparty/linux.git/commit
staging: rtl8723bs: remove unnesessary function parameter
authorMichael Straube <straube.linux@gmail.com>
Mon, 30 Jun 2025 08:30:48 +0000 (10:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Jun 2025 17:15:30 +0000 (19:15 +0200)
commit1267d12f5e9a16d33e9bf68c6bf8d7e5b43f45d8
treeae1805091edf4e03ff6659ddead16fa300377cef
parent49f9718b1d708e4e86eebbb228d5fddd82e63abe
staging: rtl8723bs: remove unnesessary function parameter

The function rtw_ieee80211_channel_to_frequency() in ioctl_cfg80211.c
is always called with band = NL80211_BAND_2GHZ. Remove the unnecessary
band parameter from the function and adjust its code and calls.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20250630083049.103734-3-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c