staging: rtl8723bs: remove unused variables
authorArnd Bergmann <arnd@arndb.de>
Thu, 2 Nov 2017 14:31:10 +0000 (15:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Nov 2017 12:30:59 +0000 (13:30 +0100)
A cleanup patch removed the only user of two local variables:

drivers/staging/rtl8723bs/hal/hal_btcoex.c: In function 'hal_btcoex_Initialize':
drivers/staging/rtl8723bs/hal/hal_btcoex.c:1415:5: error: unused variable 'ret2' [-Werror=unused-variable]
drivers/staging/rtl8723bs/hal/hal_btcoex.c:1414:5: error: unused variable 'ret1' [-Werror=unused-variable]

This removes the declarations as well.

Fixes: 95b3b4238581 ("staging: rtl8723bs: remove ternary operators in assignmet statments")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/hal_btcoex.c

index d374ce961bc516a5328b91854e2a7d806a3da7ca..7d4df5a8832eefaff90a3134c6a4d96df26e8e0c 100644 (file)
@@ -1411,10 +1411,6 @@ void hal_btcoex_SetSingleAntPath(struct adapter *padapter, u8 singleAntPath)
 
 u8 hal_btcoex_Initialize(struct adapter *padapter)
 {
-       u8 ret1;
-       u8 ret2;
-
-
        memset(&GLBtCoexist, 0, sizeof(GLBtCoexist));
        return EXhalbtcoutsrc_InitlizeVariables((void *)padapter);
 }