svn commit: r357422 - head/sys/dev/acpi_support

Ed Maste emaste at FreeBSD.org
Sun Feb 2 20:56:19 UTC 2020


Author: emaste
Date: Sun Feb  2 20:56:18 2020
New Revision: 357422
URL: https://svnweb.freebsd.org/changeset/base/357422

Log:
  acpi_ibm: remove superfluous cast
  
  Reported by:	kib

Modified:
  head/sys/dev/acpi_support/acpi_ibm.c

Modified: head/sys/dev/acpi_support/acpi_ibm.c
==============================================================================
--- head/sys/dev/acpi_support/acpi_ibm.c	Sun Feb  2 20:53:31 2020	(r357421)
+++ head/sys/dev/acpi_support/acpi_ibm.c	Sun Feb  2 20:56:18 2020	(r357422)
@@ -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__);
 


More information about the svn-src-all mailing list