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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user