OSDN Git Service

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)
commit4aaf2b7312d8b08df6441ce0ca5def603db493c1
tree9ed7a8e66b286aaaf53f006edac43b8bfb27d315
parent0c8c0f744db66eedb605f8090b235334cbf66186
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