Only reference the firmware module once rather than twice. The extra call
was accidentally added in 1.55 and resulted in an extra reference count being held on the linker file. MFC after: 1 week
This commit is contained in:
parent
4ba3b38b64
commit
bc5521260c
@ -783,7 +783,6 @@ digi_loadmoduledata(struct digi_softc *sc)
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user