diff options
Diffstat (limited to 'drivers/net/atlx')
-rw-r--r-- | drivers/net/atlx/atl2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/atlx/atl2.c b/drivers/net/atlx/atl2.c index 7061d7108f08..199f2c9ce749 100644 --- a/drivers/net/atlx/atl2.c +++ b/drivers/net/atlx/atl2.c | |||
@@ -421,7 +421,6 @@ static void atl2_intr_rx(struct atl2_adapter *adapter) | |||
421 | netdev->stats.rx_dropped++; | 421 | netdev->stats.rx_dropped++; |
422 | break; | 422 | break; |
423 | } | 423 | } |
424 | skb->dev = netdev; | ||
425 | memcpy(skb->data, rxd->packet, rx_size); | 424 | memcpy(skb->data, rxd->packet, rx_size); |
426 | skb_put(skb, rx_size); | 425 | skb_put(skb, rx_size); |
427 | skb->protocol = eth_type_trans(skb, netdev); | 426 | skb->protocol = eth_type_trans(skb, netdev); |