Skip to content

Commit

Permalink
atm: remove a net_device_stats clear
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Aug 19, 2010
1 parent bb2537f commit b928409
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/atm/lec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b928409

Please sign in to comment.