mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
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: Alberto Pires de Oliveira Neto <mrpenguin2005@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b5693964ea
commit
cb6ec7f6f5
1 changed files with 2 additions and 3 deletions
|
|
@ -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",
|
||||
fld->lcf_name, name, tar->ft_idx);
|
||||
return 0;
|
||||
} else {
|
||||
CDEBUG(D_INFO, "%s: Adding target %s (idx %llu)\n",
|
||||
fld->lcf_name, name, tar->ft_idx);
|
||||
}
|
||||
CDEBUG(D_INFO, "%s: Adding target %s (idx %llu)\n",
|
||||
fld->lcf_name, name, tar->ft_idx);
|
||||
|
||||
OBD_ALLOC_PTR(target);
|
||||
if (target == NULL)
|
||||
|
|
|
|||
Loading…
Reference in a new issue