svn commit: r300001 - head/sys/net

Bjoern A. Zeeb bz at FreeBSD.org
Tue May 17 00:32:37 UTC 2016


Author: bz
Date: Tue May 17 00:32:36 2016
New Revision: 300001
URL: https://svnweb.freebsd.org/changeset/base/300001

Log:
  Mark the unused arguments of various SYSINIT functions __unused.
  
  MFC after:	2 weeks
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/net/vnet.c

Modified: head/sys/net/vnet.c
==============================================================================
--- head/sys/net/vnet.c	Tue May 17 00:31:37 2016	(r300000)
+++ head/sys/net/vnet.c	Tue May 17 00:32:36 2016	(r300001)
@@ -304,7 +304,7 @@ vnet_destroy(struct vnet *vnet)
  * Boot time initialization and allocation of virtual network stacks.
  */
 static void
-vnet_init_prelink(void *arg)
+vnet_init_prelink(void *arg __unused)
 {
 
 	rw_init(&vnet_rwlock, "vnet_rwlock");
@@ -316,7 +316,7 @@ SYSINIT(vnet_init_prelink, SI_SUB_VNET_P
     vnet_init_prelink, NULL);
 
 static void
-vnet0_init(void *arg)
+vnet0_init(void *arg __unused)
 {
 
 	/* Warn people before take off - in case we crash early. */
@@ -333,7 +333,7 @@ vnet0_init(void *arg)
 SYSINIT(vnet0_init, SI_SUB_VNET, SI_ORDER_FIRST, vnet0_init, NULL);
 
 static void
-vnet_init_done(void *unused)
+vnet_init_done(void *unused __unused)
 {
 
 	curvnet = NULL;


More information about the svn-src-all mailing list