diff --git a/src/core/pbuf.c b/src/core/pbuf.c index ffea70b7..febfa788 100644 --- a/src/core/pbuf.c +++ b/src/core/pbuf.c @@ -853,7 +853,6 @@ pbuf_take(struct pbuf *p) return head; } -#if 0 /* TODO: See if we might need this for future features */ /** * Dechains the first pbuf from its succeeding pbufs in the chain. * @@ -890,7 +889,6 @@ pbuf_dechain(struct pbuf *p) LWIP_ASSERT("p->tot_len == p->len", p->tot_len == p->len); return (tail_gone > 0? NULL: q); } -#endif /* pbuf_dechain() */ /* TODO: This function is unused in the lwIP stack and will be deprecated. This is due * to the new way chains are built. */ diff --git a/src/include/lwip/pbuf.h b/src/include/lwip/pbuf.h index 26288302..3c755f7e 100644 --- a/src/include/lwip/pbuf.h +++ b/src/include/lwip/pbuf.h @@ -110,8 +110,6 @@ u8_t pbuf_free(struct pbuf *p); u8_t pbuf_clen(struct pbuf *p); void pbuf_chain(struct pbuf *h, struct pbuf *t); struct pbuf *pbuf_take(struct pbuf *f); -#if 0 /* see remark in code */ struct pbuf *pbuf_dechain(struct pbuf *p); -#endif #endif /* __LWIP_PBUF_H__ */