staging: rtl8188eu: replace if else with ternary operator
authorMichael Straube <straube.linux@gmail.com>
Wed, 5 Dec 2018 18:30:58 +0000 (19:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Dec 2018 15:12:19 +0000 (16:12 +0100)
commit4fea3f99b54aef2814e48ea0ff6bff37ea156727
tree3ae644e30b4cb1f85a7f46235341254189a87f1d
parentd5fa6721f671a03d9d649e82395771229f20a9e6
staging: rtl8188eu: replace if else with ternary operator

Replace if else with a single call and ternary operator to
slightly reduce object file size. Also clears a checkpatch
warning: WARNING: Statements should start on a tabstop

Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_wlan_util.c