mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-23 02:51:47 +00:00
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>
This commit is contained in:
parent
bb2537f1e7
commit
b92840900f
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue