From: Luis de Bethencourt Date: Wed, 6 Dec 2017 19:16:59 +0000 (+0000) Subject: staging: lustre: llite: Remove redundant else keyword X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=30c1e39fb641f5887aeb263e03e1de9c85c8622a;p=linux.git staging: lustre: llite: Remove redundant else keyword There is no need to use 'else' if in main branch 'goto' is present. Signed-off-by: Luis de Bethencourt Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/llite/llite_lib.c b/drivers/staging/lustre/lustre/llite/llite_lib.c index 8666f1e81ade7..e84719662edf1 100644 --- a/drivers/staging/lustre/lustre/llite/llite_lib.c +++ b/drivers/staging/lustre/lustre/llite/llite_lib.c @@ -236,7 +236,9 @@ static int client_common_fill_super(struct super_block *sb, char *md, char *dt, "An MDT (md %s) is performing recovery, of which this client is not a part. Please wait for recovery to complete, abort, or time out.\n", md); goto out; - } else if (err) { + } + + if (err) { CERROR("cannot connect to %s: rc = %d\n", md, err); goto out; }