diff options
author | Nimrod Andy <B38611@freescale.com> | 2014-09-19 14:26:03 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-22 14:52:01 -0400 |
commit | b749fc9bff50013182edf2371d7f6c6796aed808 (patch) | |
tree | 90a90cc1171f7ba5b4c3bbf58dfc10b430384e16 /drivers/net/ethernet/freescale | |
parent | 61a3bd1492b7b1872768798384ba6451f83c87a5 (diff) | |
download | op-kernel-dev-b749fc9bff50013182edf2371d7f6c6796aed808.zip op-kernel-dev-b749fc9bff50013182edf2371d7f6c6796aed808.tar.gz |
net: fec: fix code identation
There have extra identation before .skb_copy_to_linear_data_offset(),
this patch just remove the identation.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale')
-rw-r--r-- | drivers/net/ethernet/freescale/fec_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c index 09d7f5f..3a4ec0f 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c @@ -1433,7 +1433,7 @@ fec_enet_rx_queue(struct net_device *ndev, int budget, u16 queue_id) skb_copy_to_linear_data(skb, data, (2 * ETH_ALEN)); if (vlan_packet_rcvd) payload_offset = (2 * ETH_ALEN) + VLAN_HLEN; - skb_copy_to_linear_data_offset(skb, (2 * ETH_ALEN), + skb_copy_to_linear_data_offset(skb, (2 * ETH_ALEN), data + payload_offset, pkt_len - 4 - (2 * ETH_ALEN)); |