提交 bec027ea 编写于 作者: M Mateusz Kulikowski 提交者: Greg Kroah-Hartman

staging: rtl8192e: Fix BRACES warning

Fix 'braces {} are not necessary for single statement blocks'
checkpatch.pl warning
Signed-off-by: NMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 e2ac0431
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册