PPP, CORE, Removed useless enabled_flag from struct protent

Our struct protent are const everywhere to save RAM, enable/disable
flag on a const struct is useless, saving some flash, removed.
This commit is contained in:
Sylvain Rochet
2015-02-18 21:32:58 +01:00
parent 730529353d
commit b71d9ce3f6
12 changed files with 10 additions and 23 deletions

View File

@@ -285,7 +285,6 @@ struct protent {
*/
/* Process a received data packet */
void (*datainput) (ppp_pcb *pcb, u_char *pkt, int len);
u8_t enabled_flag; /* 0 if protocol is disabled */
#if PRINTPKT_SUPPORT
const char *name; /* Text name of protocol */
const char *data_name; /* Text name of corresponding data protocol */