PPP, PPPoS: Remove useless cast from pppos_input_sys()

pppos_input() now takes `const void*`, so there is no need to cast the
payload (`void*`) to anything else.
This commit is contained in:
Freddie Chopin 2019-12-05 22:02:33 +01:00 committed by Sylvain Rochet
parent 5ad2f06333
commit 34156e0594

View File

@ -447,7 +447,7 @@ err_t pppos_input_sys(struct pbuf *p, struct netif *inp) {
LWIP_ASSERT_CORE_LOCKED();
for (n = p; n; n = n->next) {
pppos_input(ppp, (u8_t*)n->payload, n->len);
pppos_input(ppp, n->payload, n->len);
}
pbuf_free(p);
return ERR_OK;