Module Name: src
Committed By: thorpej
Date: Sun Mar 28 20:31:05 UTC 2021
Modified Files:
src/sys/dev/ic [thorpej-cfargs]: mfi.c
Log Message:
No need to pass interface or locators to config_found() in mfi_rescan().
To generate a diff of this commit:
cvs rdiff -u -r1.63.10.2 -r1.63.10.3 src/sys/dev/ic/mfi.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/mfi.c
diff -u src/sys/dev/ic/mfi.c:1.63.10.2 src/sys/dev/ic/mfi.c:1.63.10.3
--- src/sys/dev/ic/mfi.c:1.63.10.2 Mon Mar 22 16:23:45 2021
+++ src/sys/dev/ic/mfi.c Sun Mar 28 20:31:05 2021
@@ -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 @@ mfi_rescan(device_t self, const char *if
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;
}