]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita31593bc6d583e3aba3c7f93fa2d3ecbb162301b
treea6e2f66c2e69f618acd9e6071fcff389b95b8093
parentd0192107b93bc4b50a91dd9943d7ea783821a427
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