Staging: r8188eu: core: rtw_xmit: Fixed a brace coding style issue
authorChang Yu <marcus.yu.56@gmail.com>
Sun, 19 Jun 2022 19:42:30 +0000 (12:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Jun 2022 08:06:08 +0000 (10:06 +0200)
Removed superfluous brackets around a if clause as per checkpatch.pl

Signed-off-by: Chang Yu <marcus.yu.56@gmail.com>
Link: https://lore.kernel.org/r/ff6f2ecb22c3d295ceae0dab593bedfc6eac9e32.1655666628.git.marcus.yu.56@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_xmit.c

index 0f9cbfa6ea5073aef70aeb9678f1c03bc0b3a41d..06fda7d8383d1718bc5344c883d06caec2fc86bf 100644 (file)
@@ -951,9 +951,8 @@ s32 rtw_xmitframe_coalesce(struct adapter *padapter, struct sk_buff *pkt, struct
                        mpdu_len -= llc_sz;
                }
 
-               if ((pattrib->icv_len > 0) && (pattrib->bswenc)) {
+               if ((pattrib->icv_len > 0) && (pattrib->bswenc))
                        mpdu_len -= pattrib->icv_len;
-               }
 
                if (bmcst) {
                        /*  don't do fragment to broadcast/multicast packets */