staging: lustre: lustre: Remove unnecessary pair of braces {}
PATCH v2 1/1 staging: lustre: lustre: Remove unnecessary pair of braces {}
For single statment of if not required
a braces {}.
Signed-off-by Anchal Jain <[email protected]>
---
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
@@ -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