]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit20e66f03be4a72fd87afd02272d6479f39704e3c
tree3ae644e30b4cb1f85a7f46235341254189a87f1d
parent2efe853f00f542cd8377cc6152718135b75ff674
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