merged from DEVEL.

This commit is contained in:
marcbou 2003-06-19 11:35:26 +00:00
parent 55f64f13c7
commit ec1c2a714e
2 changed files with 0 additions and 4 deletions

View File

@ -853,7 +853,6 @@ pbuf_take(struct pbuf *p)
return head; 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. * 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); LWIP_ASSERT("p->tot_len == p->len", p->tot_len == p->len);
return (tail_gone > 0? NULL: q); 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 /* TODO: This function is unused in the lwIP stack and will be deprecated. This is due
* to the new way chains are built. */ * to the new way chains are built. */

View File

@ -110,8 +110,6 @@ u8_t pbuf_free(struct pbuf *p);
u8_t pbuf_clen(struct pbuf *p); u8_t pbuf_clen(struct pbuf *p);
void pbuf_chain(struct pbuf *h, struct pbuf *t); void pbuf_chain(struct pbuf *h, struct pbuf *t);
struct pbuf *pbuf_take(struct pbuf *f); struct pbuf *pbuf_take(struct pbuf *f);
#if 0 /* see remark in code */
struct pbuf *pbuf_dechain(struct pbuf *p); struct pbuf *pbuf_dechain(struct pbuf *p);
#endif
#endif /* __LWIP_PBUF_H__ */ #endif /* __LWIP_PBUF_H__ */