git: adc573c8e217 - main - rtsock: Use NULL for VNET_SYS[UN]INIT's last arg, which is a pointer type

From: Zhenlei Huang <zlei_at_FreeBSD.org>
Date: Mon, 09 Dec 2024 17:14:49 UTC
The branch main has been updated by zlei:

URL: https://cgit.FreeBSD.org/src/commit/?id=adc573c8e2179310777cef4d6bda19db2ae63dd5

commit adc573c8e2179310777cef4d6bda19db2ae63dd5
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2024-12-09 17:14:08 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2024-12-09 17:14:08 +0000

    rtsock: Use NULL for VNET_SYS[UN]INIT's last arg, which is a pointer type
    
    MFC after:      3 days
---
 sys/net/rtsock.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index a5395dcf1469..ce5ec9ce22af 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -261,7 +261,7 @@ vnet_rts_init(void)
 #endif
 }
 VNET_SYSINIT(vnet_rtsock, SI_SUB_PROTO_DOMAIN, SI_ORDER_THIRD,
-    vnet_rts_init, 0);
+    vnet_rts_init, NULL);
 
 #ifdef VIMAGE
 static void
@@ -271,7 +271,7 @@ vnet_rts_uninit(void)
 	netisr_unregister_vnet(&rtsock_nh);
 }
 VNET_SYSUNINIT(vnet_rts_uninit, SI_SUB_PROTO_DOMAIN, SI_ORDER_THIRD,
-    vnet_rts_uninit, 0);
+    vnet_rts_uninit, NULL);
 #endif
 
 static void