mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
blackfin_mac: unneeded assignment
skb->dev is set by eth_type_trans already. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
16b237dc44
commit
74dfd9fb0a
@ -742,7 +742,6 @@ static void bfin_mac_rx(struct net_device *dev)
|
||||
(unsigned long)skb->tail);
|
||||
|
||||
dev->last_rx = jiffies;
|
||||
skb->dev = dev;
|
||||
skb->protocol = eth_type_trans(skb, dev);
|
||||
#if defined(BFIN_MAC_CSUM_OFFLOAD)
|
||||
skb->csum = current_rx_ptr->status.ip_payload_csum;
|
||||
|
Loading…
Reference in New Issue
Block a user