Commit 04ff8b51 authored by Gokce Kuler's avatar Gokce Kuler Committed by Greg Kroah-Hartman
Browse files

staging: rtl8712: Remove unnecessary braces



Remove unnecessary braces for single statement block

Signed-off-by: default avatarGokce Kuler <gokcekuler@gmail.com>
Link: https://lore.kernel.org/r/20200320000326.GA9349@siyah2


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3fce0276
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -44,9 +44,9 @@ static int init_mp_priv(struct mp_priv *pmp_priv)
	pmp_priv->pallocated_mp_xmitframe_buf = kmalloc(NR_MP_XMITFRAME *
				sizeof(struct mp_xmit_frame) + 4,
				GFP_ATOMIC);
	if (!pmp_priv->pallocated_mp_xmitframe_buf) {
	if (!pmp_priv->pallocated_mp_xmitframe_buf)
		return -ENOMEM;
	}

	pmp_priv->pmp_xmtframe_buf = pmp_priv->pallocated_mp_xmitframe_buf +
			 4 -
			 ((addr_t)(pmp_priv->pallocated_mp_xmitframe_buf) & 3);