mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-01 04:12:07 +00:00
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:
parent
5ad2f06333
commit
34156e0594
@ -447,7 +447,7 @@ err_t pppos_input_sys(struct pbuf *p, struct netif *inp) {
|
|||||||
LWIP_ASSERT_CORE_LOCKED();
|
LWIP_ASSERT_CORE_LOCKED();
|
||||||
|
|
||||||
for (n = p; n; n = n->next) {
|
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);
|
pbuf_free(p);
|
||||||
return ERR_OK;
|
return ERR_OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user