Commit b9284090 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

atm: remove a net_device_stats clear

No need to clear device stats in lec_open()
Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bb2537f1
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment