Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -220,7 +220,6 @@ static unsigned char *get_tr_dst(unsigned char *packet, unsigned char *rdesc)
static int lec_open(struct net_device *dev)
static int lec_open(struct net_device *dev)
{
{
	netif_start_queue(dev);
	netif_start_queue(dev);
	memset(&dev->stats, 0, sizeof(struct net_device_stats));


	return 0;
	return 0;
}
}