Source-Changes-HG archive

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

[src/thorpej-cfargs]: src/sys/dev/isa pcppi_scan(): No need to pass interface...



details:   https://anonhg.NetBSD.org/src/rev/f07c819f73ba
branches:  thorpej-cfargs
changeset: 960479:f07c819f73ba
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Mar 28 20:35:57 2021 +0000

description:
pcppi_scan(): No need to pass interface attribute or locators to
config_search().

diffstat:

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

diffs (27 lines):

diff -r 6144cabd050e -r f07c819f73ba sys/dev/isa/pcppi.c
--- a/sys/dev/isa/pcppi.c       Sun Mar 28 20:34:44 2021 +0000
+++ b/sys/dev/isa/pcppi.c       Sun Mar 28 20:35:57 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcppi.c,v 1.45.22.2 2021/03/21 19:06:19 thorpej Exp $ */
+/* $NetBSD: pcppi.c,v 1.45.22.3 2021/03/28 20:35:57 thorpej Exp $ */
 
 /*
  * Copyright (c) 1996 Carnegie-Mellon University.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pcppi.c,v 1.45.22.2 2021/03/21 19:06:19 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pcppi.c,v 1.45.22.3 2021/03/28 20:35:57 thorpej Exp $");
 
 #include "attimer.h"
 
@@ -247,8 +247,6 @@
 
        config_search(sc->sc_dv, &pa,
            CFARG_SUBMATCH, pcppisearch,
-           CFARG_IATTR, ifattr,
-           CFARG_LOCATORS, locators,
            CFARG_EOL);
 
        return 0;



Home | Main Index | Thread Index | Old Index