]> git.karo-electronics.de Git - linux-beck.git/commit
staging: nvec: remove unnecessary 'else' after 'return' statement
authorPawel Lebioda <pawel.lebioda89@gmail.com>
Sat, 5 Jul 2014 20:30:55 +0000 (22:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 19:14:06 +0000 (12:14 -0700)
commitaea2cda3d817a53ee13ffe0105644d1ac500cc5e
treeb81e6e6be28436f53d2ddbf479dc44b807e922d0
parentfa7996178650377994b1e42ea6c00df304d48065
staging: nvec: remove unnecessary 'else' after 'return' statement

Fix the following warning reported by checkpatch.pl:

WARNING: else is not generally useful after a break or return
235: FILE: drivers/staging/nvec/nvec.c:235

Signed-off-by: Pawel Lebioda <pawel.lebioda89@gmail.com>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/nvec/nvec.c