Skip to contentSkip to conversation

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

PATCH Superseded Alberto Pires de Oliveira Neto 2 participants 4 messages Feb 27, 2015 – Feb 28, 2015 1 message not in the archive Staging

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: lustre: fld_request.c: Remove else after return.

very sorry for the html patch. It was my first one.

---
 drivers/staging/lustre/lustre/fld/fld_request.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
drivers/staging/lustre/lustre/fld/fld_request.c +3 -4
index b8d17e1..0b00301 100644
@@ -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)
Signature · 1 line
1.9.1

A message that is not in the archive (sent off-list or not yet received): CAG5o4DW1CbV_MnXuQbiw3e5JHeqUS1Sd+=jai0DCeB6fWrPuXw@mail.gmail.com

#3 lore raw
Quoted 1 line · Alberto Pires de Oliveira Neto

Sorry, still getting the hang of it. Should I resend the patch ?

better. and then your subject line should have [PATCH v2].

regards
sudip

#4 lore raw

Ok, it's done.

Thanks again.

Quoted 6 lines · Sudip Mukherjee
Quoted 1 line · Alberto Pires de Oliveira Neto

Sorry, still getting the hang of it. Should I resend the patch ?

better. and then your subject line should have [PATCH v2].

regards
sudip