diff options
| author | Olivier Certner <olce@FreeBSD.org> | 2026-04-17 21:02:06 +0000 |
|---|---|---|
| committer | Olivier Certner <olce@FreeBSD.org> | 2026-04-17 21:04:50 +0000 |
| commit | 0a764beb6215f067787fba1723f211b7ef0eeeb0 (patch) | |
| tree | a9201e7f8b20a671221ac8c27fb356db6a66389a | |
| parent | 788d71e73f1b4fdac572dae72d3eac5cfb0f9f18 (diff) | |
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: bd05b47fbd8b ("acpi_spmc(4): Small probe improvements/fixes")
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56483
| -rw-r--r-- | sys/dev/acpica/acpi_spmc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpi_spmc.c b/sys/dev/acpica/acpi_spmc.c index 5be2ba439de4..03944800327d 100644 --- a/sys/dev/acpica/acpi_spmc.c +++ b/sys/dev/acpica/acpi_spmc.c @@ -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); |
