Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2020 15:45:01 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r360499 - head/sys/dev/ichiic
Message-ID:  <202004301545.03UFj1iX091139@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Thu Apr 30 15:45:01 2020
New Revision: 360499
URL: https://svnweb.freebsd.org/changeset/base/360499

Log:
  ig4iic_acpi_probe: remove set but unused variable
  
  MFC after:	1 week

Modified:
  head/sys/dev/ichiic/ig4_acpi.c

Modified: head/sys/dev/ichiic/ig4_acpi.c
==============================================================================
--- head/sys/dev/ichiic/ig4_acpi.c	Thu Apr 30 15:39:04 2020	(r360498)
+++ head/sys/dev/ichiic/ig4_acpi.c	Thu Apr 30 15:45:01 2020	(r360499)
@@ -68,10 +68,8 @@ static char *ig4iic_ids[] = {
 static int
 ig4iic_acpi_probe(device_t dev)
 {
-	ig4iic_softc_t *sc;
 	int rv;
 
-	sc = device_get_softc(dev);
 	if (acpi_disabled("ig4iic"))
 		return (ENXIO);
 	rv = ACPI_ID_PROBE(device_get_parent(dev), dev, ig4iic_ids, NULL);



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