Skip to contentSkip to conversation

Staging: lustre: lov_obd: fixed a brace coding style issue

PATCH New Nilesh Kokane 1 participant 1 message Oct 22, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: lustre: lov_obd: fixed a brace coding style issue

Fixed a coding style issue.

---
 drivers/staging/lustre/lustre/lov/lov_obd.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/staging/lustre/lustre/lov/lov_obd.c +2 -3
index 96c55ac..8e1729e 100644
@@ -2100,11 +2100,10 @@ static int lov_set_info_async(const struct lu_env *env, struct obd_export *exp,
 	}
 
 	for (i = 0; i < count; i++, val = (char *)val + incr) {
-		if (next_id) {
+		if (next_id)
 			tgt = lov->lov_tgts[((struct obd_id_info *)val)->idx];
-		} else {
+		else
 			tgt = lov->lov_tgts[i];
-		}
 		/* OST was disconnected */
 		if (!tgt || !tgt->ltd_exp)
 			continue;
Signature · 1 line
1.9.1