OSDN Git Service

staging: rtl8723bs: fix comparsion to true/false and brace issues
authorMichael Straube <straube.linux@gmail.com>
Sat, 30 Jun 2018 11:36:27 +0000 (13:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Jul 2018 08:43:10 +0000 (10:43 +0200)
commitd2ab9916f0122c77cc9bbb8b74c6a6dde458b4a2
treea6e2f66c2e69f618acd9e6071fcff389b95b8093
parent790d5d2a7e9b494272dcf8ddc44f12aec4d36b35
staging: rtl8723bs: fix comparsion to true/false and brace issues

Use if(x) and if(!x) instead of comparsion to true/false.
Reported by checkpatch.

Remove unrequired braces from single if else statement.
Add missing space after else: else{ -> else {

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_btcoex.c
drivers/staging/rtl8723bs/core/rtw_efuse.c