]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited2635fbc6bd42c34830f21c1fa0f04003940e7f
tree8c1f4622675476261de6a437c7b07ed8555f52d0
parent7bb1b4b78bd3129d7db2bbce0fcf87d4ea7ab156
staging: rtl8723bs: remove unused variables

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: 567aff1a6bfc ("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