Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: rtl8712: remove multiple multiple assignments

Documentation/process/coding-style.rst says (in line 88)
"Don't put multiple assignments on a single line either."

This patch fixes the coding style issue reported by checkpatch.pl.

Signed-off-by: Alexander Vorwerk <alec@vc-celle.de>
Link: https://lore.kernel.org/r/20210501234501.5411-1-alec@vc-celle.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Alexander Vorwerk and committed by
Greg Kroah-Hartman
62409b31 84b45d4f

+3 -2
+3 -2
drivers/staging/rtl8712/rtl8712_recv.c
··· 1039 1039 skb_reserve(pkt_copy, 4 - ((addr_t)(pkt_copy->data) % 4)); 1040 1040 skb_reserve(pkt_copy, shift_sz); 1041 1041 memcpy(pkt_copy->data, pbuf, tmp_len); 1042 - precvframe->u.hdr.rx_head = precvframe->u.hdr.rx_data = 1043 - precvframe->u.hdr.rx_tail = pkt_copy->data; 1042 + precvframe->u.hdr.rx_head = pkt_copy->data; 1043 + precvframe->u.hdr.rx_data = pkt_copy->data; 1044 + precvframe->u.hdr.rx_tail = pkt_copy->data; 1044 1045 precvframe->u.hdr.rx_end = pkt_copy->data + alloc_sz; 1045 1046 1046 1047 recvframe_put(precvframe, tmp_len);