]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: replace if with ternary operator
authorMartin Kaiser <martin@kaiser.cx>
Sat, 14 May 2022 16:47:37 +0000 (18:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 May 2022 15:41:56 +0000 (17:41 +0200)
commit4ceba32dff03278f3f9d92f6ba8e800ccffe514b
treedc2f6f6e61293ed8eac8a3e4ed0bdfef6d0586e6
parent4fcc8240d89099acbb55b006b070c50e05730663
staging: r8188eu: replace if with ternary operator

Replace an if statement with a ternary operator, making the code a tiny
bit shorter.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220514164740.282552-5-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c