Source-Changes-HG archive

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

[src/thorpej-cfargs]: src/sys/dev/pcmcia - Unwrap a line.



details:   https://anonhg.NetBSD.org/src/rev/3384d187019f
branches:  thorpej-cfargs
changeset: 954093:3384d187019f
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Mar 28 20:39:10 2021 +0000

description:
- Unwrap a line.
- No need to be explcit about interface attribute.

diffstat:

 sys/dev/pcmcia/pcmcia.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r 03da857dae8c -r 3384d187019f sys/dev/pcmcia/pcmcia.c
--- a/sys/dev/pcmcia/pcmcia.c   Sun Mar 28 20:38:47 2021 +0000
+++ b/sys/dev/pcmcia/pcmcia.c   Sun Mar 28 20:39:10 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcmcia.c,v 1.94.70.2 2021/03/22 16:23:46 thorpej Exp $ */
+/*     $NetBSD: pcmcia.c,v 1.94.70.3 2021/03/28 20:39:10 thorpej Exp $ */
 
 /*
  * Copyright (c) 2004 Charles M. Hannum.  All rights reserved.
@@ -48,7 +48,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pcmcia.c,v 1.94.70.2 2021/03/22 16:23:46 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pcmcia.c,v 1.94.70.3 2021/03/28 20:39:10 thorpej Exp $");
 
 #include "opt_pcmciaverbose.h"
 
@@ -214,8 +214,7 @@
 }
 
 int
-pcmcia_rescan(device_t self, const char *ifattr,
-    const int *locators)
+pcmcia_rescan(device_t self, const char *ifattr, const int *locators)
 {
        struct pcmcia_softc *sc = device_private(self);
        struct pcmcia_function *pf;
@@ -248,7 +247,6 @@
 
                pf->child = config_found(self, &paa, pcmcia_print,
                    CFARG_SUBMATCH, config_stdsubmatch,
-                   CFARG_IATTR, ifattr,
                    CFARG_LOCATORS, locs,
                    CFARG_EOL);
        }



Home | Main Index | Thread Index | Old Index