diff --git a/src/core/tcp_out.c b/src/core/tcp_out.c index 5a9c0319..a64e420d 100644 --- a/src/core/tcp_out.c +++ b/src/core/tcp_out.c @@ -242,7 +242,6 @@ tcp_pbuf_prealloc(pbuf_layer layer, u16_t length, u16_t max_length, LWIP_UNUSED_ARG(pcb); LWIP_UNUSED_ARG(apiflags); LWIP_UNUSED_ARG(first_seg); - /* always create MSS-sized pbufs */ alloc = max_length; #else /* LWIP_NETIF_TX_SINGLE_PBUF */ if (length < max_length) {