mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-23 08:37:02 +08:00
pbuf_alloc() for PBUF_RAM type always return big enough memory on success. So checking p->len is not necessary. Testing if p is NULL or not is enough. Signed-off-by: Axel Lin <axel.lin@ingics.com>