summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2018-04-24 15:49:58 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-25 15:50:19 +0200
commitca94697252370f8d8dc1346d0007508b98f95ca7 (patch)
tree741040bf8e963d4c0c80e2aedfaaa84155ab7e5e /virt
parent1e4c7fb3a54ec2b1be17c7d2d1b53c593f959a1d (diff)
downloadlinux-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