aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/greth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/greth.c')
-rw-r--r--drivers/net/greth.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/greth.c b/drivers/net/greth.c
index 2b9c1cbc9ec1..c5e0d28a6de9 100644
--- a/drivers/net/greth.c
+++ b/drivers/net/greth.c
@@ -894,7 +894,6 @@ static int greth_rx_gbit(struct net_device *dev, int limit)
894 else 894 else
895 skb->ip_summed = CHECKSUM_NONE; 895 skb->ip_summed = CHECKSUM_NONE;
896 896
897 skb->dev = dev;
898 skb->protocol = eth_type_trans(skb, dev); 897 skb->protocol = eth_type_trans(skb, dev);
899 dev->stats.rx_packets++; 898 dev->stats.rx_packets++;
900 netif_receive_skb(skb); 899 netif_receive_skb(skb);