PERFORCE change 97820 for review

John Baldwin jhb at FreeBSD.org
Thu May 25 13:26:24 PDT 2006


http://perforce.freebsd.org/chv.cgi?CH=97820

Change 97820 by jhb at jhb_mutex on 2006/05/25 20:25:10

	Only load it once.
	
	Pointy hat to:	phk

Affected files ...

.. //depot/projects/smpng/sys/dev/digi/digi.c#31 edit

Differences ...

==== //depot/projects/smpng/sys/dev/digi/digi.c#31 (text+ko) ====

@@ -783,7 +783,6 @@
 	modlen = strlen(sc->module);
 	modfile = malloc(modlen + 6, M_TEMP, M_WAITOK);
 	snprintf(modfile, modlen + 6, "digi_%s", sc->module);
-	res = linker_reference_module(modfile, NULL, &lf);
 	if ((res = linker_reference_module(modfile, NULL, &lf)) != 0)
 		printf("%s: Failed %d to autoload module\n", modfile, res);
 	free(modfile, M_TEMP);


More information about the p4-projects mailing list