From 87d669d3863bc62884117a349c261d4c6544e98b Mon Sep 17 00:00:00 2001 From: emaste Date: Sun, 2 Feb 2020 20:56:18 +0000 Subject: [PATCH] acpi_ibm: remove superfluous cast Reported by: kib --- sys/dev/acpi_support/acpi_ibm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/acpi_support/acpi_ibm.c b/sys/dev/acpi_support/acpi_ibm.c index 2072cf70edc7..376b61095d6e 100644 --- a/sys/dev/acpi_support/acpi_ibm.c +++ b/sys/dev/acpi_support/acpi_ibm.c @@ -383,7 +383,7 @@ acpi_status_to_errno(ACPI_STATUS status) static void ibm_led(void *softc, int onoff) { - struct acpi_ibm_softc *sc = (struct acpi_ibm_softc *)softc; + struct acpi_ibm_softc *sc = softc; ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);