pppInit: Remove zeroing the stats - no protocol does that

This commit is contained in:
goldsimon 2009-12-06 10:56:28 +00:00
parent 5da0620c6b
commit 1b42286bda

View File

@ -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 #if PPPOE_SUPPORT
pppoe_init(); pppoe_init();
#endif /* PPPOE_SUPPORT */ #endif /* PPPOE_SUPPORT */