staging: ft1000: remove braces from one-line conditional
authorKelley Nielsen <kelleynnn@gmail.com>
Sat, 12 Oct 2013 15:37:53 +0000 (08:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Oct 2013 16:23:22 +0000 (09:23 -0700)
As per coding style,
braces {} are not necessary for single statement blocks

Signed-off-by: Kelley Nielsen <kelleynnn@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ft1000/ft1000-usb/ft1000_download.c

index 1e62b50..85c9ce1 100644 (file)
@@ -1201,9 +1201,8 @@ u16 scram_dnldr(struct ft1000_usb *ft1000dev, void *pFileStart,
                        break;
                }               /* End Switch */
 
-               if (status != STATUS_SUCCESS) {
+               if (status != STATUS_SUCCESS)
                        break;
-               }
 
 /****
       // Check if Card is present