From: Puranjay Mohan Date: Tue, 7 May 2019 16:21:26 +0000 (+0530) Subject: Staging: rtl8723bs: os_dep: Remove braces from single if statement X-Git-Tag: v5.15~5977^2~508 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bd9c9e2c6d56c04e77cf10a5da7ed8ddc0a2d9c6;p=platform%2Fkernel%2Flinux-starfive.git 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: Puranjay Mohan Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c index 0524825..96e989d 100644 --- a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c +++ b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c @@ -489,9 +489,8 @@ static int rtw_drv_init( /* dev_alloc_name && register_netdev */ status = rtw_drv_register_netdev(if1); - if (status != _SUCCESS) { + if (status != _SUCCESS) goto free_if2; - } if (sdio_alloc_irq(dvobj) != _SUCCESS) goto free_if2;