Skip to content
Snippets Groups Projects
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
unnecessary.

Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
Cc: Christian Benvenuti <benve@cisco.com>
Cc: Roopa Prabhu <roprabhu@cisco.com>
Cc: Neel Patel <neepatel@cisco.com>
Cc: Nishank Trivedi <nistrive@cisco.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5c8b73ca
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment