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

qlcnic: remove unnecessary setting of skb->dev

skb->dev is being unnecessarily set before 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: Anirban Chakraborty <>
Cc: Sony Chacko <>
Signed-off-by: default avatarDavid S. Miller <>
parent b06b66c0
......@@ -1488,8 +1488,6 @@ static struct sk_buff *qlcnic_process_rxbuf(struct qlcnic_adapter *adapter,
skb->dev = adapter->netdev;
buffer->skb = NULL;
return skb;
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