]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8188eu: change return type of Hal_GetChnlGroup88E()
authorMichael Straube <straube.linux@gmail.com>
Wed, 19 Sep 2018 20:39:59 +0000 (22:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Sep 2018 10:33:00 +0000 (12:33 +0200)
commit0681cf90e7e2cd8620c5e436a9d20e9e3aa2454f
tree9ed7a8e66b286aaaf53f006edac43b8bfb27d315
parent266e4efd99d7ee55813f7fd24ad5a95f4e575653
staging: rtl8188eu: change return type of Hal_GetChnlGroup88E()

After the removal of code valid only for 5 GHz the function
Hal_GetChnlGroup88E returns always true.

Change the return type to void and remove the variable bIn24G.

Remove the tests for the return value and the variable bIn24G
from the only user Hal_ReadTxPowerInfo88E().

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c