]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
staging: rtl8723bs: simplify if else statement
authorMichael Straube <straube.linux@gmail.com>
Sat, 30 Jun 2018 11:36:28 +0000 (13:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Jul 2018 08:43:10 +0000 (10:43 +0200)
commit9d4bedcbf2ad15e9090b8f56a40c77d1c23986b0
tree4bff5d897a2f9de3a37a798b1de16d426cfed08e
parentd2ab9916f0122c77cc9bbb8b74c6a6dde458b4a2
staging: rtl8723bs: simplify if else statement

Simplify if else statement to a single function call
by passing the variable.

Suggested-by: Andreas Schwab <schwab@linux-m68k.org>
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