Source-Changes-HG archive

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

[src/trunk]: src/sys/dev nuke superfluous SYSCTL_SETUP_PROTO



details:   https://anonhg.NetBSD.org/src/rev/a67cf226d256
branches:  trunk
changeset: 335369:a67cf226d256
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Jan 04 19:25:32 2015 +0000

description:
nuke superfluous SYSCTL_SETUP_PROTO

diffstat:

 sys/dev/firmload.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r aaef2e00f2e0 -r a67cf226d256 sys/dev/firmload.c
--- a/sys/dev/firmload.c        Sun Jan 04 19:24:11 2015 +0000
+++ b/sys/dev/firmload.c        Sun Jan 04 19:25:32 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: firmload.c,v 1.20 2015/01/04 19:24:11 pooka Exp $      */
+/*     $NetBSD: firmload.c,v 1.21 2015/01/04 19:25:32 pooka Exp $      */
 
 /*-
  * Copyright (c) 2005, 2006 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: firmload.c,v 1.20 2015/01/04 19:24:11 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: firmload.c,v 1.21 2015/01/04 19:25:32 pooka Exp $");
 
 /*
  * The firmload API provides an interface for device drivers to access
@@ -115,8 +115,6 @@
        return (0);
 }
 
-SYSCTL_SETUP_PROTO(sysctl_hw_firmware_setup);
-
 SYSCTL_SETUP(sysctl_hw_firmware_setup, "sysctl hw.firmware subtree setup")
 {
        const struct sysctlnode *firmware_node;



Home | Main Index | Thread Index | Old Index