mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
staging: rtl8188eu: remove unnecessary braces
This commit fixes the following checkpatch.pl warning:
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Jan Gruber <j4n6ru@gmail.com>
Link: https://lore.kernel.org/r/20210705072125.199810-1-j4n6ru@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ac5951a6e3
commit
e7ca5907d1
|
|
@ -379,9 +379,8 @@ static int rtw_usb_if1_init(struct usb_interface *pusb_intf)
|
|||
|
||||
/* step 6. Tell the network stack we exist */
|
||||
err = register_netdev(pnetdev);
|
||||
if (err) {
|
||||
if (err)
|
||||
goto free_hal_data;
|
||||
}
|
||||
|
||||
pr_debug("bDriverStopped:%d, bSurpriseRemoved:%d, bup:%d, hw_init_completed:%d\n"
|
||||
, padapter->bDriverStopped
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user