staging: vt6656: removal of braces under if-control statement
authorNandini Hanumanthagowda <nandu.hgowda@gmail.com>
Thu, 17 Oct 2013 18:52:24 +0000 (00:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2013 20:34:22 +0000 (13:34 -0700)
Removed braces under if-else control flow statement whenever
there is only one statement under if-else control statement
to comply with linux coding style

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

index 2d7501bf69388070ca8fea38479346223c00f552..52d4e964584df535a5dda763443b136c18599b22 100644 (file)
@@ -108,11 +108,10 @@ int FIRMWAREbBrach2Sram(struct vnt_private *pDevice)
                                        0x0000,
                                        0,
                                        NULL);
-       if (NdisStatus != STATUS_SUCCESS) {
+       if (NdisStatus != STATUS_SUCCESS)
                return (false);
-       } else {
+       else
                return (true);
-       }
 }
 
 int FIRMWAREbCheckVersion(struct vnt_private *pDevice)