staging: vt6656: Remove unnecessary line breaks
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Mon, 21 Feb 2022 21:25:29 +0000 (22:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Feb 2022 09:01:35 +0000 (10:01 +0100)
This patch fixes the checkpatch.pl warning like:
CHECK: Lines should not end with a '('

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/e0d6d3d787051e3aef56fdba1aee8c2bbbe14e89.1645477326.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/rxtx.c

index 5839b34b2e935b9c69fde2f35602bc6db9ebf9c9..4d29f8ebb39303266b1893d3395f1393a9e51b8e 100644 (file)
@@ -353,10 +353,8 @@ static bool vnt_fill_txkey(struct vnt_tx_buffer *tx_buffer, struct sk_buff *skb)
                ether_addr_copy(mic_hdr->addr2, hdr->addr2);
                ether_addr_copy(mic_hdr->addr3, hdr->addr3);
 
-               mic_hdr->frame_control = cpu_to_le16(
-                       le16_to_cpu(hdr->frame_control) & 0xc78f);
-               mic_hdr->seq_ctrl = cpu_to_le16(
-                               le16_to_cpu(hdr->seq_ctrl) & 0xf);
+               mic_hdr->frame_control = cpu_to_le16(le16_to_cpu(hdr->frame_control) & 0xc78f);
+               mic_hdr->seq_ctrl = cpu_to_le16(le16_to_cpu(hdr->seq_ctrl) & 0xf);
 
                if (ieee80211_has_a4(hdr->frame_control))
                        ether_addr_copy(mic_hdr->addr4, hdr->addr4);