staging: rtl8192e: Fix BRACES warning
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Tue, 31 Mar 2015 22:24:31 +0000 (00:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 13:29:30 +0000 (15:29 +0200)
Fix 'braces {} are not necessary for single statement blocks'
checkpatch.pl warning

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c

index 1f7077d3966ca1fec4a30534d976f41cd35ac01a..c465f8749acda2781d64d54e6d785efef4064c0c 100644 (file)
@@ -301,13 +301,11 @@ bool init_firmware(struct net_device *dev)
                file_length = pfirmware->firmware_buf_size[init_step];
 
                rt_status = fw_download_code(dev, mapped_file, file_length);
-               if (!rt_status) {
+               if (!rt_status)
                        goto download_firmware_fail;
-               }
 
-               if (!firmware_check_ready(dev, init_step)) {
+               if (!firmware_check_ready(dev, init_step))
                        goto download_firmware_fail;
-               }
        }
 
        RT_TRACE(COMP_FIRMWARE, "Firmware Download Success\n");