Skip to contentSkip to conversation

staging: lustre: lustre: Remove unnecessary pair of braces {}

PATCH New Anchal Jain 1 participant 1 message Feb 25, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging: lustre: lustre: Remove unnecessary pair of braces {}

For single statment of if not required
a braces {}.

---
changes in v2:
- Remove extra line in patch

 drivers/staging/lustre/lustre/lov/lov_obd.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/lustre/lustre/lov/lov_obd.c +1 -2
index dcaa5a1..0192774 100644
@@ -1547,9 +1547,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 ?
Signature · 1 line
1.9.1