]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
staging: rtl8723bs: Remove unnecessary braces
authorJavier F. Arias <jarias.linux@gmail.com>
Sun, 6 Oct 2019 13:30:19 +0000 (08:30 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Oct 2019 10:25:45 +0000 (12:25 +0200)
Remove unnecessary braces for single statement block.
Issue found by checkpatch.

Signed-off-by: Javier F. Arias <jarias.linux@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Link: https://lore.kernel.org/r/20191006133016.GA22297@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_xmit.c

index b5dcb78fb4f48c88c8d92593cabd3d3d3e4953ab..29acbb1ee869b4abfef7de3118b213f9bcc083e0 100644 (file)
@@ -3022,9 +3022,8 @@ int rtw_sctx_wait(struct submit_ctx *sctx, const char *msg)
                status = sctx->status;
        }
 
-       if (status == RTW_SCTX_DONE_SUCCESS) {
+       if (status == RTW_SCTX_DONE_SUCCESS)
                ret = _SUCCESS;
-       }
 
        return ret;
 }