Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 2026 11:27:59 +0000
From:      Aymeric Wibo <obiwac@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 0b2df683672e - main - acpi_spmc: Remove useless __DECONSTs
Message-ID:  <6a103dbf.26562.208f1b9c@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by obiwac:

URL: https://cgit.FreeBSD.org/src/commit/?id=0b2df683672e3b5792aa552a3700da86617f9d90

commit 0b2df683672e3b5792aa552a3700da86617f9d90
Author:     Aymeric Wibo <obiwac@FreeBSD.org>
AuthorDate: 2026-05-22 11:11:39 +0000
Commit:     Aymeric Wibo <obiwac@FreeBSD.org>
CommitDate: 2026-05-22 11:27:40 +0000

    acpi_spmc: Remove useless __DECONSTs
    
    Sponsored by:   The FreeBSD Foundation
---
 sys/dev/acpica/acpi_spmc.c | 4 ++--
 1 file 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,


home | help

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