mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 23:29:25 +00:00
pppInit: Remove zeroing the stats - no protocol does that
This commit is contained in:
parent
5da0620c6b
commit
1b42286bda
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user