OSDN Git Service

staging: rtl8723bs: remove ODM_GetRightChnlPlaceforIQK()
authorMichael Straube <straube.linux@gmail.com>
Fri, 10 Jan 2020 21:04:56 +0000 (22:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jan 2020 13:56:37 +0000 (14:56 +0100)
commit98ab51df76bf4a317a0116d6c940fa08c6f12322
tree5b9d91b2ed7da435415fd82ce9331e5e1c68b31c
parentd85cad420a21e28016248ef9939d20c1264246eb
staging: rtl8723bs: remove ODM_GetRightChnlPlaceforIQK()

Function ODM_GetRightChnlPlaceforIQK() returns non-zero values only
for channels > 14. According to the TODO code valid only for 5 GHz
should be removed.

- find and remove remaining code valid only for 5 GHz. Most of the
  obvious ones have been removed, but things like channel > 14 still
  exist.

Remove ODM_GetRightChnlPlaceforIQK() and replace the uses of the
return value with zero.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20200110210456.13178-1-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/HalPhyRf.c
drivers/staging/rtl8723bs/hal/HalPhyRf.h
drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c