staging: lustre: lustre: Remove unnecessary pair of braces {}
authorAnchal Jain <anchalj109@gmail.com>
Thu, 25 Feb 2016 10:18:10 +0000 (15:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Feb 2016 06:18:37 +0000 (22:18 -0800)
For single statment of if not required
a braces {}.

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

index 6122d166ca57e30041c9af5f1c52284b9c6b7792..846683bfe302be5dd081a7c75a96b4d0cc727df4 100644 (file)
@@ -1560,9 +1560,8 @@ static int lov_iocontrol(unsigned int cmd, struct obd_export *exp, int len,
                        osc_obd->obd_force = obddev->obd_force;
                        err = obd_iocontrol(cmd, lov->lov_tgts[i]->ltd_exp,
                                            len, karg, uarg);
-                       if (err == -ENODATA && cmd == OBD_IOC_POLL_QUOTACHECK) {
+                       if (err == -ENODATA && cmd == OBD_IOC_POLL_QUOTACHECK)
                                return err;
-                       }
                        if (err) {
                                if (lov->lov_tgts[i]->ltd_active) {
                                        CDEBUG(err == -ENOTTY ?