From: Andrei Tatar Date: Tue, 29 Apr 2025 11:02:23 +0000 (+0200) Subject: init.c: Remove no-op term function X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;ds=inline;p=unikraft%2Flibs%2Flwip.git 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 --- 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,