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)
commit11fc4822f9c08c80c55df2303a8b9c42566b74b8
treed7f5cf919266c13726866df06e61e1b98a81f677
parenta4adfa836c5289df905af19edc9727fc275dc1a1
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