diff options
| author | Aymeric Wibo <obiwac@FreeBSD.org> | 2026-05-22 11:11:39 +0000 |
|---|---|---|
| committer | Aymeric Wibo <obiwac@FreeBSD.org> | 2026-05-22 11:27:40 +0000 |
| commit | 0b2df683672e3b5792aa552a3700da86617f9d90 (patch) | |
| tree | 9a862b52ad4fa8ec0493d27deb8bc2d95dac81e2 | |
| parent | 3a3b0545913625360e38b30dba10c74dae71bbcc (diff) | |
acpi_spmc: Remove useless __DECONSTs
Sponsored by: The FreeBSD Foundation
| -rw-r--r-- | sys/dev/acpica/acpi_spmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpi_spmc.c b/sys/dev/acpica/acpi_spmc.c index c8e2cf4c3733..611a9a09a6eb 100644 --- a/sys/dev/acpica/acpi_spmc.c +++ b/sys/dev/acpica/acpi_spmc.c @@ -785,8 +785,8 @@ acpi_spmc_get_constraints(struct acpi_spmc_softc *const sc) for (size_t i = 0; i < sc->constraint_count; i++) { constraint = &sc->constraints[i]; - status = acpi_GetHandleInScope(sc->handle, - __DECONST(char *, constraint->name), &constraint->handle); + status = acpi_GetHandleInScope(sc->handle, constraint->name, + &constraint->handle); if (ACPI_FAILURE(status)) { if (VERBOSE()) device_printf(sc->dev, |
