mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
Staging: gdm724x: Change spaces to tabs
This patch fixes the following checkpatch.pl warning in gdm_usb.c: WARNING: suspect code indent for conditional statements (8, 12) Signed-off-by: Mart Lubbers <mart@martlubbers.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f7a320ffeb
commit
9f5c6b7258
@ -738,11 +738,11 @@ static int gdm_usb_sdu_send(void *priv_dev, void *data, int len,
|
||||
sdu->cmd_evt = gdm_cpu_to_dev16(&udev->gdm_ed, LTE_TX_SDU);
|
||||
if (nic_type == NIC_TYPE_ARP) {
|
||||
send_len = len + SDU_PARAM_LEN;
|
||||
memcpy(sdu->data, data, len);
|
||||
memcpy(sdu->data, data, len);
|
||||
} else {
|
||||
send_len = len - ETH_HLEN;
|
||||
send_len += SDU_PARAM_LEN;
|
||||
memcpy(sdu->data, data + ETH_HLEN, len - ETH_HLEN);
|
||||
send_len = len - ETH_HLEN;
|
||||
send_len += SDU_PARAM_LEN;
|
||||
memcpy(sdu->data, data + ETH_HLEN, len - ETH_HLEN);
|
||||
}
|
||||
|
||||
sdu->len = gdm_cpu_to_dev16(&udev->gdm_ed, send_len);
|
||||
|
Loading…
Reference in New Issue
Block a user