From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Wed, 18 Aug 2010 10:44:34 +0000 (+0000)
Subject: atm: remove a net_device_stats clear
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b92840900fb575004cac694e56fd0a43f54dc344;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

atm: remove a net_device_stats clear

No need to clear device stats in lec_open()

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
---

diff --git a/net/atm/lec.c b/net/atm/lec.c
index d98bde1a0ac8..181d70c73d70 100644
--- a/net/atm/lec.c
+++ b/net/atm/lec.c
@@ -220,7 +220,6 @@ static unsigned char *get_tr_dst(unsigned char *packet, unsigned char *rdesc)
 static int lec_open(struct net_device *dev)
 {
 	netif_start_queue(dev);
-	memset(&dev->stats, 0, sizeof(struct net_device_stats));
 
 	return 0;
 }