]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: lustre: llite: Remove else after goto
authorLuis de Bethencourt <luisbg@kernel.org>
Wed, 6 Dec 2017 19:16:58 +0000 (19:16 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Dec 2017 14:34:17 +0000 (15:34 +0100)
commitee4bf6ed3ab763dc7a1976465f7076db60864743
treeb1105d9a06489ad25909c9e73efe82846232e419
parent54fc95a7c59612263126c2eb4d46cf674095b63c
staging: lustre: llite: Remove else after goto

If an "if" branch is terminated by a "goto", there's no need to have an
"else" statement and an indented block of code.

Remove the "else" statement to simplify the code flow.

Signed-off-by: Luis de Bethencourt <luisbg@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/dir.c