Commit 0b43b9a7 authored by Jon Mason's avatar Jon Mason Committed by David S. Miller
Browse files

ll_temac: remove unnecessary setting of skb->dev

skb->dev is being unnecessarily set by the driver on packet recieve.
eth_type_trans already sets skb->dev to the proper value and it is not
referenced anywhere else in the dirver, thus making its setting unnecessary.
Signed-off-by: default avatarJon Mason <>
Signed-off-by: default avatarDavid S. Miller <>
parent d233d707
......@@ -768,7 +768,6 @@ static void ll_temac_recv(struct net_device *ndev)
skb_put(skb, length);
skb->dev = ndev;
skb->protocol = eth_type_trans(skb, ndev);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment