]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: remove ODM_GetRightChnlPlaceforIQK()
authorMichael Straube <straube.linux@gmail.com>
Sat, 14 Aug 2021 07:39:20 +0000 (09:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Aug 2021 07:09:04 +0000 (09:09 +0200)
commita3b11ea3cb91004194067d31dcba4f4d200beeb4
treed7f5cf919266c13726866df06e61e1b98a81f677
parentff78708d87b89ec30fb861183b84817c299915bf
staging: r8188eu: remove ODM_GetRightChnlPlaceforIQK()

Function ODM_GetRightChnlPlaceforIQK() returns always zero for
channels <= 14. The driver is for chips that do not support 5 GHz,
so remove the function and replace the usage of its return value
with zero.

Acked-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Acked-by: Phillip Potter <phil@philpotter.co.uk>
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210814073920.3551-1-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/HalPhyRf_8188e.c