From: Nilesh Kokane Date: Thu, 22 Oct 2015 17:12:43 +0000 (+0530) Subject: Staging: lustre: lov_obd: fixed a brace coding style issue X-Git-Tag: KARO-TX6UL-2015-11-03~34^2~361 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7fc8f5a82b9082fdd738895c103b9f25ea530846;p=karo-tx-linux.git Staging: lustre: lov_obd: fixed a brace coding style issue Fixed a coding style issue. Signed-off-by: Nilesh kokane Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/lov/lov_obd.c b/drivers/staging/lustre/lustre/lov/lov_obd.c index c3be0b5ca627..1d74d926d102 100644 --- a/drivers/staging/lustre/lustre/lov/lov_obd.c +++ b/drivers/staging/lustre/lustre/lov/lov_obd.c @@ -2101,11 +2101,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;