diff options
author | njl <njl@FreeBSD.org> | 2004-06-15 02:12:12 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2004-06-15 02:12:12 +0000 |
commit | 8d89806526e7859c90ca819ddd9c8186b096ec05 (patch) | |
tree | cb2ae4ad5d91cd16ca8c05f7caf1ce7c1a3c6db0 /sys/amd64 | |
parent | e4e2071ab47d188ba1c9b9312ad0f9e8dc0d355a (diff) | |
download | FreeBSD-src-8d89806526e7859c90ca819ddd9c8186b096ec05.zip FreeBSD-src-8d89806526e7859c90ca819ddd9c8186b096ec05.tar.gz |
We only need the devclass_find() result, not the softc.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/bios.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/bios.c b/sys/amd64/amd64/bios.c index 5109e4d..46c9302 100644 --- a/sys/amd64/amd64/bios.c +++ b/sys/amd64/amd64/bios.c @@ -556,7 +556,7 @@ pnpbios_identify(driver_t *driver, device_t parent) return; /* ACPI already active */ - if (devclass_get_softc(devclass_find("acpi"), 0) != NULL) + if (devclass_find("acpi") != NULL) return; /* get count of PnP devices */ |