PPP, CORE, remove the user ability to set the PPP error code (PPPCTLS_ERRCODE)

This is now totally useless, it was used for the PPP core code but it is not
used anymore, remove then the user ability to set the PPP error code through
PPPCTLS_ERRCODE.
This commit is contained in:
Sylvain Rochet 2015-02-21 21:48:53 +01:00
parent c4d1354c54
commit a8e973f5d7

View File

@ -355,13 +355,6 @@ ppp_ioctl(ppp_pcb *pcb, u8_t cmd, void *arg)
*(int *)arg = (int)(pcb->if_up);
return ERR_OK;
case PPPCTLS_ERRCODE: /* Set the PPP error code. */
if (!arg) {
goto fail;
}
pcb->err_code = (u8_t)(*(int *)arg);
return ERR_OK;
case PPPCTLG_ERRCODE: /* Get the PPP error code. */
if (!arg) {
goto fail;