staging: ks7010: fix checkpatch UNNECESSARY_ELSE
authorTobin C. Harding <me@tobin.cc>
Mon, 10 Apr 2017 03:15:53 +0000 (13:15 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Apr 2017 14:05:50 +0000 (16:05 +0200)
commitba9328768b1e7d827ac86f94340af9bd084be8d5
treeb662dbf0721c77715e9524c0dacdc195cec101d0
parent8f0ef774b8379adaa985506da3c7c185d938502b
staging: ks7010: fix checkpatch UNNECESSARY_ELSE

Checkpatch emits WARNING: else is not generally useful after a break
or return. Two warnings of this type are emitted for this code block,
in both cases 'else' statements are unnecessary.

Remove unnecessary 'else' statements, reduce indentation in subsequent
code.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_wlan_net.c