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

enic: remove unnecessary setting of skb->dev

skb->dev is being unnecessarily set after calling eth_type_trans.
eth_type_trans already sets skb->dev to the proper value, thus making this
Signed-off-by: default avatarJon Mason <>
Cc: Christian Benvenuti <>
Cc: Roopa Prabhu <>
Cc: Neel Patel <>
Cc: Nishank Trivedi <>
Signed-off-by: default avatarDavid S. Miller <>
parent 5c8b73ca
......@@ -1300,8 +1300,6 @@ static void enic_rq_indicate_buf(struct vnic_rq *rq,
skb->ip_summed = CHECKSUM_COMPLETE;
skb->dev = netdev;
if (vlan_stripped)
__vlan_hwaccel_put_tag(skb, vlan_tci);
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