projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb2537f
)
atm: remove a net_device_stats clear
author
Eric Dumazet
<eric.dumazet@gmail.com>
Wed, 18 Aug 2010 10:44:34 +0000
(10:44 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 19 Aug 2010 07:14:36 +0000
(
00:14
-0700)
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>
net/atm/lec.c
patch
|
blob
|
history
diff --git
a/net/atm/lec.c
b/net/atm/lec.c
index
d98bde1
..
181d70c
100644
(file)
--- 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;
}