staging: rtl8188eu: remove unnecessary conversion to bool
authorMichael Straube <straube.linux@gmail.com>
Sun, 13 Oct 2019 13:12:49 +0000 (15:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Oct 2019 13:36:56 +0000 (15:36 +0200)
commit51a50b26c6dd296413350744722e4e5964c0991a
tree4ce7a0ce926cd5df8489cf7623d77f42b4d9c753
parent29c03456f157e6c1a29fa546e30ca4eb73e6e79a
staging: rtl8188eu: remove unnecessary conversion to bool

Comparsions evaluate to bool, explicit conversion with ternary
operator is overly verbose and unnecessary, so remove it.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20191013131249.34422-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_pwrctrl.c