From 1b42286bda1351f6a32e4878b8c93627405f2745 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Sun, 6 Dec 2009 10:56:28 +0000 Subject: [PATCH] pppInit: Remove zeroing the stats - no protocol does that --- src/netif/ppp/ppp.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/netif/ppp/ppp.c b/src/netif/ppp/ppp.c index 55a5a47a..48b8f110 100644 --- a/src/netif/ppp/ppp.c +++ b/src/netif/ppp/ppp.c @@ -413,12 +413,6 @@ pppInit(void) } } -#if LINK_STATS - /** @todo already done in stats_init (in fact, zeroed at boot). So, remove it? */ - /* Clear the statistics. */ - memset(&lwip_stats.link, 0, sizeof(lwip_stats.link)); -#endif /* LINK_STATS */ - #if PPPOE_SUPPORT pppoe_init(); #endif /* PPPOE_SUPPORT */