acpi_spmc(4): Remove redundant setting of 'sc->dev' on attach

Should have been part of the previous commit (but PEBCAK).

Reviewed by:    obiwac
Fixes:          bd05b47fbd ("acpi_spmc(4): Small probe improvements/fixes")
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D56483
This commit is contained in:
Olivier Certner
2026-04-17 23:02:06 +02:00
parent 788d71e73f
commit 0a764beb62
-2
View File
@@ -227,8 +227,6 @@ acpi_spmc_attach(device_t dev)
{
struct acpi_spmc_softc *sc = device_get_softc(dev);
sc->dev = dev;
sc->handle = acpi_get_handle(dev);
if (sc->handle == NULL)
return (ENXIO);