OSDN Git Service

staging: rtl8723bs: clean up conditionals
authorDafna Hirschfeld <dafna3@gmail.com>
Sun, 18 Feb 2018 16:43:04 +0000 (18:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Feb 2018 16:57:43 +0000 (17:57 +0100)
commitc4ac54079300026120bec3beaf95e3d642a1e771
tree64bd8810ea8367f6d9bbf42b30a220eaf1b8202a
parentb32b2cacd91e785d03d2a945d42579451736a19d
staging: rtl8723bs: clean up conditionals

Move all closing braces and parentheses to the end of the line.
Remove braces from 'if' statements with a single 'then' line.
Move logical operators to the end of lines in multiline conditional.
Remove unnecessary parentheses.
Issues found with checkpatch.pl

Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/xmit_linux.c