Commit cb6ec7f6 authored by Alberto Pires de Oliveira Neto's avatar Alberto Pires de Oliveira Neto Committed by Greg Kroah-Hartman

staging: lustre: fld_request.c: Remove else after return.

    This patch fixes checkpatch.pl warning.
    WARNING: else is not generally useful after a break or return
Signed-off-by: default avatarAlberto Pires de Oliveira Neto <mrpenguin2005@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b5693964
...@@ -217,10 +217,9 @@ int fld_client_add_target(struct lu_client_fld *fld, ...@@ -217,10 +217,9 @@ int fld_client_add_target(struct lu_client_fld *fld,
CERROR("%s: Attempt to add target %s (idx %llu) on fly - skip it\n", CERROR("%s: Attempt to add target %s (idx %llu) on fly - skip it\n",
fld->lcf_name, name, tar->ft_idx); fld->lcf_name, name, tar->ft_idx);
return 0; return 0;
} else { }
CDEBUG(D_INFO, "%s: Adding target %s (idx %llu)\n", CDEBUG(D_INFO, "%s: Adding target %s (idx %llu)\n",
fld->lcf_name, name, tar->ft_idx); fld->lcf_name, name, tar->ft_idx);
}
OBD_ALLOC_PTR(target); OBD_ALLOC_PTR(target);
if (target == NULL) if (target == NULL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment