Staging: rtl8192e: rtllib_tx: fixed lines ending with an open parenthesis
authorAaron Lawrence <t4rmin@zohomail.com>
Mon, 24 Oct 2022 12:29:14 +0000 (19:29 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Oct 2022 17:23:35 +0000 (19:23 +0200)
Fixed several lines that end with an open parenthesis to not end
with it anymore, as per the Linux kernel coding-style regulations.
The issues were flagged by the checkpatch script.

Signed-off-by: Aaron Lawrence <t4rmin@zohomail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/a8e67d281b4e9ab1254e0b58294f566994ac7d9d.1666612946.git.t4rmin@zohomail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_tx.c

index fa998cd7691768d44da7581a01b32a540464d1a1..4647efb0f868bb75ba91604ad7522f28ea6581b2 100644 (file)
@@ -802,8 +802,8 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
                         * MOREFRAGS bit to the frame control
                         */
                        if (i != nr_frags - 1) {
-                               frag_hdr->frame_ctl = cpu_to_le16(
-                                       fc | RTLLIB_FCTL_MOREFRAGS);
+                               frag_hdr->frame_ctl = cpu_to_le16(fc |
+                                                                 RTLLIB_FCTL_MOREFRAGS);
                                bytes = bytes_per_frag;
 
                        } else {
@@ -822,9 +822,9 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
                        }
                        /* Put a SNAP header on the first fragment */
                        if (i == 0) {
-                               rtllib_put_snap(
-                                       skb_put(skb_frag, SNAP_SIZE +
-                                       sizeof(u16)), ether_type);
+                               rtllib_put_snap(skb_put(skb_frag,
+                                                       SNAP_SIZE +
+                                                       sizeof(u16)), ether_type);
                                bytes -= SNAP_SIZE + sizeof(u16);
                        }