[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171228221530.20565-1-loctauxphilippe@gmail.com>
Date: Thu, 28 Dec 2017 23:15:30 +0100
From: Philippe Loctaux <loctauxphilippe@...il.com>
To: martyn@...chs.me.uk, manohar.vanga@...il.com,
gregkh@...uxfoundation.org
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Philippe Loctaux <loctauxphilippe@...il.com>
Subject: [PATCH] Staging: vme: vme_user: removed unnecessary parentheses
Removed unnecessary parentheses in the if statement.
Signed-off-by: Philippe Loctaux <loctauxphilippe@...il.com>
---
drivers/staging/vme/devices/vme_user.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/vme/devices/vme_user.c b/drivers/staging/vme/devices/vme_user.c
index 41a5b32e0..611ea219f 100644
--- a/drivers/staging/vme/devices/vme_user.c
+++ b/drivers/staging/vme/devices/vme_user.c
@@ -511,7 +511,7 @@ static int vme_user_match(struct vme_dev *vdev)
int cur_slot = vme_slot_num(vdev);
for (i = 0; i < bus_num; i++)
- if ((cur_bus == bus[i]) && (cur_slot == vdev->num))
+ if (cur_bus == bus[i] && cur_slot == vdev->num)
return 1;
return 0;
--
2.15.1
Powered by blists - more mailing lists