PPP: using a macro for ppp_set_default() instead of a function

This function is only calling netif_set_default(), a macro
is adequate.
This commit is contained in:
Sylvain Rochet
2015-02-14 22:27:32 +01:00
parent 17c6be6a9b
commit c8c0dc2f53
2 changed files with 1 additions and 5 deletions

View File

@@ -237,10 +237,6 @@ int ppp_init(void) {
return 0;
}
void ppp_set_default(ppp_pcb *pcb) {
netif_set_default(pcb->netif);
}
void ppp_set_auth(ppp_pcb *pcb, u8_t authtype, const char *user, const char *passwd) {
#if PAP_SUPPORT