netxen: 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: Jon Mason <jdmason@kudzu.us> Cc: Sony Chacko <sony.chacko@qlogic.com> Cc: Rajesh Borundia <rajesh.borundia@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b6457acfb7
commit
95f2bce55b
1 changed files with 0 additions and 2 deletions
|
@ -1532,8 +1532,6 @@ static struct sk_buff *netxen_process_rxbuf(struct netxen_adapter *adapter,
|
|||
} else
|
||||
skb->ip_summed = CHECKSUM_NONE;
|
||||
|
||||
skb->dev = adapter->netdev;
|
||||
|
||||
buffer->skb = NULL;
|
||||
no_skb:
|
||||
buffer->state = NETXEN_BUFFER_FREE;
|
||||
|
|
Loading…
Reference in a new issue