]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: ks7010: remove unnecessary else statement
authorTobin C. Harding <me@tobin.cc>
Mon, 13 Mar 2017 22:54:06 +0000 (09:54 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Mar 2017 00:08:15 +0000 (08:08 +0800)
commit44dc9c86f9ed0e49b864e8337f98bbb1c09e0570
treeb76b12e5536874902bc657d0c03387565fc3d41b
parent7676b72428e84f344bd64fecc1d4c840e57a68d8
staging: ks7010: remove unnecessary else statement

Checkpatch emits WARNING: else is not generally useful after a break
or return. Two warnings of this type are emitted, both are the result
of a else statement after a return statement. The 'else' can safely be
removed.

Remove unnecessary else statement.

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