aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Gruber <j4n6ru@gmail.com>2021-07-05 09:21:25 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-21 10:19:08 +0200
commite7ca5907d1e00dfa639cae8864db56eca906738d (patch)
tree1852c7182c3e9697a05dad9d40ddf9178e654bd7
parentstaging: rtl8188eu: remove rtw_wx_set_rate handler function (diff)
downloadlinux-dev-e7ca5907d1e00dfa639cae8864db56eca906738d.tar.xz
linux-dev-e7ca5907d1e00dfa639cae8864db56eca906738d.zip
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>
-rw-r--r--drivers/staging/rtl8188eu/os_dep/usb_intf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
index b7e2692c35f3..f8519bfec020 100644
--- a/drivers/staging/rtl8188eu/os_dep/usb_intf.c
+++ b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
@@ -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