Skip site navigation (1)Skip section navigation (2)


| raw e-mail | index | archive | help
diff --git a/sys/dev/gpio/acpi_gpiobus.c b/sys/dev/gpio/acpi_gpiobus.c
index e766c25e5336..be3889f6a89b 100644
--- a/sys/dev/gpio/acpi_gpiobus.c
+++ b/sys/dev/gpio/acpi_gpiobus.c
@@ -203,8 +203,6 @@ acpi_gpiobus_enumerate_aei(ACPI_RESOURCE *res, void *context)
 
 	for (int i = 0; i < devi->gpiobus.npins; i++) {
 		if (GPIOBUS_PIN_SETFLAGS(bus, child, 0, devi->flags)) {
-			gpiobus_free_ivars(&devi->gpiobus);
-			free(devi, M_DEVBUF);
 			device_delete_child(bus, child);
 			return (AE_OK);
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>