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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7fc8f5a82b9082fdd738895c103b9f25ea530846;p=openwrt%2Fstaging%2Fblogic.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;