staging: lustre: lov: remove unnecessary parentheses
authorAntonio Murdaca <antoniomurdaca@gmail.com>
Mon, 1 Jun 2015 21:14:14 +0000 (23:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jun 2015 19:28:40 +0000 (12:28 -0700)
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>
drivers/staging/lustre/lustre/lov/lov_obd.c

index b5dc9e138d306943bfabbba9e2035e1289742cb4..ca1caaea27012454fb432b903853f254c774f268 100644 (file)
@@ -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])