]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
Staging: rtl8712: Cleanup coding style warning
authorKhoa Tran Minh <ktm8@posteo.de>
Tue, 1 Jun 2021 17:59:25 +0000 (17:59 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Jun 2021 13:57:37 +0000 (15:57 +0200)
This patch fixes checkpatch warning about multiple line dereference.

Signed-off-by: Khoa Tran Minh <ktm8@posteo.de>
Link: https://lore.kernel.org/r/YLZ1fc7BsaTo+ixQ@rue.localhost
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl8712_xmit.c

index 116cb812dcb9b5196e46c3747c7d8c1f7bdd43af..84a22eba7ebfd205f7e47a0bdfccb03346d1c734 100644 (file)
@@ -482,9 +482,9 @@ static void update_txdesc(struct xmit_frame *pxmitframe, uint *pmem, int sz)
                                ptxdesc->txdw1 |= cpu_to_le32((0x01 << 22) &
                                                  0x00c00000);
                                /*KEY_ID when WEP is used;*/
-                               ptxdesc->txdw1 |= cpu_to_le32((psecuritypriv->
-                                                 PrivacyKeyIndex << 17) &
-                                                 0x00060000);
+                               ptxdesc->txdw1 |=
+                                       cpu_to_le32((psecuritypriv->PrivacyKeyIndex << 17) &
+                                                   0x00060000);
                                break;
                        case _TKIP_:
                        case _TKIP_WTMIC_: