mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +08:00
net/bufpool: Call init automatically on alloc
Note: Initialize function of protocols (tcp, udp, pkt, etc.) are kept empty. Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
This commit is contained in:
@@ -300,8 +300,6 @@ void usrsock_setup_datain(FAR struct usrsock_conn_s *conn,
|
||||
|
||||
void usrsock_initialize(void)
|
||||
{
|
||||
NET_BUFPOOL_INIT(g_usrsock_connections);
|
||||
|
||||
/* Register /dev/usrsock character device. */
|
||||
|
||||
usrsock_register();
|
||||
|
||||
Reference in New Issue
Block a user