From: Antonio Murdaca <antoniomurdaca@gmail.com>
Date: Mon, 1 Jun 2015 21:14:14 +0000 (+0200)
Subject: staging: lustre: lov: remove unnecessary parentheses
X-Git-Tag: firefly_0821_release~176^2~1545^2~361
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=23191c97c0f3a07eb45c6c9ecda4fced8fbb0719;p=firefly-linux-kernel-4.4.55.git

staging: lustre: lov: remove unnecessary parentheses

fix checkpatch.pl warning about unnecessary parentheses

Signed-off-by: Antonio Murdaca <antonio.murdaca@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---

diff --git a/drivers/staging/lustre/lustre/lov/lov_obd.c b/drivers/staging/lustre/lustre/lov/lov_obd.c
index b5dc9e138d30..ca1caaea2701 100644
--- a/drivers/staging/lustre/lustre/lov/lov_obd.c
+++ b/drivers/staging/lustre/lustre/lov/lov_obd.c
@@ -1400,7 +1400,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])