提交 b9284090 编写于 作者: E Eric Dumazet 提交者: David S. Miller

atm: remove a net_device_stats clear

No need to clear device stats in lec_open()
Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册