[lustre-devel] [PATCH] staging: lustre: lov: remove unnecessary parentheses
Antonio Murdaca
antoniomurdaca at gmail.com
Mon Jun 1 14:14:14 PDT 2015
fix checkpatch.pl warning about unnecessary parentheses
Signed-off-by: Antonio Murdaca <antonio.murdaca at gmail.com>
---
drivers/staging/lustre/lustre/lov/lov_obd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/lustre/lustre/lov/lov_obd.c b/drivers/staging/lustre/lustre/lov/lov_obd.c
index 054ca32..0a4f1771 100644
--- a/drivers/staging/lustre/lustre/lov/lov_obd.c
+++ b/drivers/staging/lustre/lustre/lov/lov_obd.c
@@ -1417,7 +1417,7 @@ static int lov_iocontrol(unsigned int cmd, struct obd_export *exp, int len,
__u32 flags;
memcpy(&index, data->ioc_inlbuf2, sizeof(__u32));
- if ((index >= count))
+ if (index >= count)
return -ENODEV;
if (!lov->lov_tgts[index])
--
2.4.2
More information about the lustre-devel
mailing list