From: Anchal Jain Date: Thu, 25 Feb 2016 10:18:10 +0000 (+0530) Subject: staging: lustre: lustre: Remove unnecessary pair of braces {} X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=1bf28ba7d64ac0d50d2c04ac6484a5f9dc3d1dfb;p=deliverable%2Flinux.git staging: lustre: lustre: Remove unnecessary pair of braces {} For single statment of if not required a braces {}. Signed-off-by: Anchal Jain 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 6122d166ca57..846683bfe302 100644 --- a/drivers/staging/lustre/lustre/lov/lov_obd.c +++ b/drivers/staging/lustre/lustre/lov/lov_obd.c @@ -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 ?