Skip to contentSkip to conversation

staging: lustre: lov: remove unnecessary parentheses

PATCH New Antonio Murdaca 1 participant 1 message Jun 1, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: lustre: lov: remove unnecessary parentheses

fix checkpatch.pl warning about unnecessary parentheses

---
 drivers/staging/lustre/lustre/lov/lov_obd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/lustre/lustre/lov/lov_obd.c +1 -1
index 054ca32..0a4f1771 100644
@@ -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])
Signature · 1 line
2.4.2