summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Murdaca <antoniomurdaca@gmail.com>2015-06-02 00:14:14 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-08 22:28:40 +0300
commit23191c97c0f3a07eb45c6c9ecda4fced8fbb0719 (patch)
tree9c8cc4bf67d53c06048e93a46313b93eddce5db5
parent6394d6d01bf0881823522f37601cbf880bc61087 (diff)
downloadlinux-23191c97c0f3a07eb45c6c9ecda4fced8fbb0719.tar.xz
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>
-rw-r--r--drivers/staging/lustre/lustre/lov/lov_obd.c2
1 files changed, 1 insertions, 1 deletions
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])