diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2018-04-24 15:49:58 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-25 15:50:19 +0200 |
commit | ca94697252370f8d8dc1346d0007508b98f95ca7 (patch) | |
tree | 741040bf8e963d4c0c80e2aedfaaa84155ab7e5e /virt | |
parent | 1e4c7fb3a54ec2b1be17c7d2d1b53c593f959a1d (diff) | |
download | linux-stable-ca94697252370f8d8dc1346d0007508b98f95ca7.tar.gz linux-stable-ca94697252370f8d8dc1346d0007508b98f95ca7.tar.bz2 linux-stable-ca94697252370f8d8dc1346d0007508b98f95ca7.zip |
staging: ks7010: refactor ks_wlan_get_mode function
Avoid the use of switch-case block which is not necessary
at all and just use a ternary operator to achieve this.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions