]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: lustre: lov_obd: fixed a brace coding style issue
authorNilesh Kokane <nilesh.kokane05@gmail.com>
Thu, 22 Oct 2015 17:12:43 +0000 (22:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 01:57:00 +0000 (18:57 -0700)
Fixed a coding style issue.

Signed-off-by: Nilesh kokane <Nilesh.Kokane05@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lov/lov_obd.c

index c3be0b5ca6278d7a8e214b8f9c89d3927ee0ebb3..1d74d926d10298509dca6cb562e7782d576d935a 100644 (file)
@@ -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;