From 65c52b82c78e3a8d7d7038ef28adf706c9a0cde2 Mon Sep 17 00:00:00 2001 From: Andrei Tatar Date: Tue, 29 Apr 2025 13:02:23 +0200 Subject: [PATCH] init.c: Remove no-op term function This change removes liblwip_term, as it did nothing and ran uselessly on system shutdown. Signed-off-by: Andrei Tatar Approved-by: Michalis Pappas Reviewed-by: Michalis Pappas GitHub-Closes: #62 --- init.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/init.c b/init.c index 4952d22..2e7daac 100644 --- a/init.c +++ b/init.c @@ -467,12 +467,7 @@ dns_done: return 0; } -static void liblwip_term(const struct uk_term_ctx *tctx __unused) -{ - /* nothing to do */ -} - -uk_lib_initcall(liblwip_init, liblwip_term); +uk_lib_initcall(liblwip_init, 0); #if CONFIG_LWIP_WAITIFACE static void _lwip_netif_waitif(struct netif *nf, netif_nsc_reason_t reason, -- 2.39.5