kernel: use LIST_DEFINE and list_drain

This commit is contained in:
wnstngs
2026-10-07 21:34:12 +03:00
parent 5180e693d9
commit 8b9fcf54bb
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
#define SOCKET_BUFFER (16 * 1024)
SPINLOCK_DEFINE(list_lock);
static list_node_t socket_list = LIST_INIT_VALUE(socket_list);
static LIST_DEFINE(socket_list);
typedef struct {
uint8_t sender[6];