[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1425005919-31239-1-git-send-email-mrpenguin2005@gmail.com>
Date: Thu, 26 Feb 2015 23:58:39 -0300
From: Alberto Pires de Oliveira Neto <mrpenguin2005@...il.com>
To: oleg.drokin@...el.com, andreas.dilger@...el.com,
gregkh@...uxfoundation.org
Cc: linux-kernel@...r.kernel.org,
Alberto Pires de Oliveira Neto <mrpenguin2005@...il.com>
Subject: [PATCH] staging: lustre: fld_request.c: Remove else after return.
very sorry for the html patch. It was my first one.
Signed-off-by: Alberto Pires de Oliveira Neto <mrpenguin2005@...il.com>
---
drivers/staging/lustre/lustre/fld/fld_request.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/lustre/lustre/fld/fld_request.c b/drivers/staging/lustre/lustre/fld/fld_request.c
index b8d17e1..0b00301 100644
--- a/drivers/staging/lustre/lustre/fld/fld_request.c
+++ b/drivers/staging/lustre/lustre/fld/fld_request.c
@@ -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)
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists