]> Pileus Git - ~andy/linux/commitdiff
staging: vt6656: removed unnecessary parentheses in return statement
authorNandini Hanumanthagowda <nandu.hgowda@gmail.com>
Thu, 17 Oct 2013 18:52:25 +0000 (00:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2013 20:34:22 +0000 (13:34 -0700)
There was parentheses around return statement's value which
was not required since return statement is not a function.
Hence removed the parentheses to eliminate the checkpatch error
which states:
ERROR: return is not a function, parentheses are not required

Signed-off-by: Nandini Hanumanthagowda <nandu.hgowda@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/firmware.c

index 52d4e964584df535a5dda763443b136c18599b22..c38c45ed080e55bfd8c46fe40e2aae315e85d72a 100644 (file)
@@ -109,9 +109,9 @@ int FIRMWAREbBrach2Sram(struct vnt_private *pDevice)
                                        0,
                                        NULL);
        if (NdisStatus != STATUS_SUCCESS)
-               return (false);
+               return false;
        else
-               return (true);
+               return true;
 }
 
 int FIRMWAREbCheckVersion(struct vnt_private *pDevice)