OSDN Git Service

staging: ks7010: change if-else condition assignment to use ternary operator
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Thu, 19 Apr 2018 05:07:59 +0000 (07:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 12:32:05 +0000 (14:32 +0200)
commit9dbeb16aab70af79ab853e5237d23c7a24b8d820
tree49c6e6f1d811fb44fa1424be618b4f02bcbc7ee1
parent6cf070d231d82d31248dfd204260ba8817f72d43
staging: ks7010: change if-else condition assignment to use ternary operator

This commit changes an if-else block used to just assign a
variable to use a ternary operator to do the same improving
readability.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_wlan_net.c