Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 2020 12:01:29 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r361370 - stable/12/sys/dev/ichiic
Message-ID:  <202005221201.04MC1T7D031411@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Fri May 22 12:01:29 2020
New Revision: 361370
URL: https://svnweb.freebsd.org/changeset/base/361370

Log:
  MFC r360499: ig4iic_acpi_probe: remove set but unused variable

Modified:
  stable/12/sys/dev/ichiic/ig4_acpi.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/ichiic/ig4_acpi.c
==============================================================================
--- stable/12/sys/dev/ichiic/ig4_acpi.c	Fri May 22 11:59:50 2020	(r361369)
+++ stable/12/sys/dev/ichiic/ig4_acpi.c	Fri May 22 12:01:29 2020	(r361370)
@@ -68,9 +68,7 @@ static char *ig4iic_ids[] = {
 static int
 ig4iic_acpi_probe(device_t dev)
 {
-	ig4iic_softc_t *sc;
 
-	sc = device_get_softc(dev);
 
 	if (acpi_disabled("ig4iic"))
 		return (ENXIO);



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