Commit bd9c9e2c authored by Puranjay Mohan's avatar Puranjay Mohan Committed by Greg Kroah-Hartman

Staging: rtl8723bs: os_dep: Remove braces from single if statement

Remove braces from single if statement to solve style issue found using
checkpatch,pl
Signed-off-by: default avatarPuranjay Mohan <puranjay12@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5706396f
...@@ -489,9 +489,8 @@ static int rtw_drv_init( ...@@ -489,9 +489,8 @@ static int rtw_drv_init(
/* dev_alloc_name && register_netdev */ /* dev_alloc_name && register_netdev */
status = rtw_drv_register_netdev(if1); status = rtw_drv_register_netdev(if1);
if (status != _SUCCESS) { if (status != _SUCCESS)
goto free_if2; goto free_if2;
}
if (sdio_alloc_irq(dvobj) != _SUCCESS) if (sdio_alloc_irq(dvobj) != _SUCCESS)
goto free_if2; goto free_if2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment