Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/thorpej-cfargs]: src/sys/dev/ic No need to pass interface or locators to...
details: https://anonhg.NetBSD.org/src/rev/b1514fad4855
branches: thorpej-cfargs
changeset: 1019735:b1514fad4855
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun Mar 28 20:31:05 2021 +0000
description:
No need to pass interface or locators to config_found() in mfi_rescan().
diffstat:
sys/dev/ic/mfi.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diffs (30 lines):
diff -r 0892c3639485 -r b1514fad4855 sys/dev/ic/mfi.c
--- a/sys/dev/ic/mfi.c Sun Mar 28 20:30:14 2021 +0000
+++ b/sys/dev/ic/mfi.c Sun Mar 28 20:31:05 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mfi.c,v 1.63.10.2 2021/03/22 16:23:45 thorpej Exp $ */
+/* $NetBSD: mfi.c,v 1.63.10.3 2021/03/28 20:31:05 thorpej Exp $ */
/* $OpenBSD: mfi.c,v 1.66 2006/11/28 23:59:45 dlg Exp $ */
/*
@@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mfi.c,v 1.63.10.2 2021/03/22 16:23:45 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mfi.c,v 1.63.10.3 2021/03/28 20:31:05 thorpej Exp $");
#include "bio.h"
@@ -909,10 +909,7 @@
if (sc->sc_child != NULL)
return 0;
- sc->sc_child = config_found(self, &sc->sc_chan, scsiprint,
- CFARG_IATTR, ifattr,
- CFARG_LOCATORS, locators,
- CFARG_EOL);
+ sc->sc_child = config_found(self, &sc->sc_chan, scsiprint, CFARG_EOL);
return 0;
}
Home |
Main Index |
Thread Index |
Old Index