2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00

staging: rtl8723bs: Remove unnecessary braces

Remove braces that are not necessary for any arm of this statement.
Issue found by checkpatch.

Signed-off-by: Javier F. Arias <jarias.linux@gmail.com>
Link: https://lore.kernel.org/r/20191006230327.GA4168@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Javier F. Arias 2019-10-06 18:03:30 -05:00 committed by Greg Kroah-Hartman
parent f3c3f2d434
commit 6d9a930cd9

View File

@ -3074,9 +3074,8 @@ void rtw_ack_tx_done(struct xmit_priv *pxmitpriv, int status)
{
struct submit_ctx *pack_tx_ops = &pxmitpriv->ack_tx_ops;
if (pxmitpriv->ack_tx) {
if (pxmitpriv->ack_tx)
rtw_sctx_done_err(&pack_tx_ops, status);
} else {
else
DBG_871X("%s ack_tx not set\n", __func__);
}
}