Skip to content

Commit

Permalink
staging: rtl8192e: Fix BRACES warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mateusz Kulikowski authored and Greg Kroah-Hartman committed Apr 3, 2015
1 parent e2ac043 commit bec027e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit bec027e

Please sign in to comment.