Staging: gdm724x: Change spaces to tabs
authorMart Lubbers <mart@martlubbers.net>
Mon, 29 May 2017 18:31:45 +0000 (20:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Jun 2017 08:38:26 +0000 (17:38 +0900)
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>
drivers/staging/gdm724x/gdm_usb.c

index 15a7e81ec2d206775fb4729a0b53514b871de20f..87cd1f827455c82520b78442dc1140aba4f7328e 100644 (file)
@@ -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);