Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Omit unused parameter to wapbl_fini.



details:   https://anonhg.NetBSD.org/src/rev/e8e1ea999f3e
branches:  trunk
changeset: 815250:e8e1ea999f3e
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat May 07 20:59:46 2016 +0000

description:
Omit unused parameter to wapbl_fini.

diffstat:

 sys/kern/vfs_wapbl.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 6432e462cbcb -r e8e1ea999f3e sys/kern/vfs_wapbl.c
--- a/sys/kern/vfs_wapbl.c      Sat May 07 20:39:33 2016 +0000
+++ b/sys/kern/vfs_wapbl.c      Sat May 07 20:59:46 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_wapbl.c,v 1.73 2016/05/07 20:39:33 riastradh Exp $ */
+/*     $NetBSD: vfs_wapbl.c,v 1.74 2016/05/07 20:59:46 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2003, 2008, 2009 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
 #define WAPBL_INTERNAL
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.73 2016/05/07 20:39:33 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.74 2016/05/07 20:59:46 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/bitops.h>
@@ -331,7 +331,7 @@
 }
 
 static int
-wapbl_fini(bool interface)
+wapbl_fini(void)
 {
 
        if (wapbl_sysctl != NULL)
@@ -3135,7 +3135,7 @@
                wapbl_init();
                return 0;
        case MODULE_CMD_FINI:
-               return wapbl_fini(true);
+               return wapbl_fini();
        default:
                return ENOTTY;
        }



Home | Main Index | Thread Index | Old Index