From 23191c97c0f3a07eb45c6c9ecda4fced8fbb0719 Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Mon, 1 Jun 2015 23:14:14 +0200 Subject: [PATCH] staging: lustre: lov: remove unnecessary parentheses fix checkpatch.pl warning about unnecessary parentheses Signed-off-by: Antonio Murdaca Signed-off-by: Greg Kroah-Hartman --- 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 b5dc9e1..ca1caae 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]) -- 2.7.4