mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-12-12 01:36:39 +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>