Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Apr 2022 04:32:30 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: de80fb0ace15 - main - ppi_probe: eliminate unused variable ppi
Message-ID:  <202204050432.2354WURn009086@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

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

commit de80fb0ace15528ae86a97c97dd7b7cf7949ee83
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-04-05 02:12:17 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-04-05 04:29:53 +0000

    ppi_probe: eliminate unused variable ppi
    
    Sponsored by:           Netflix
---
 sys/dev/ppbus/ppi.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/sys/dev/ppbus/ppi.c b/sys/dev/ppbus/ppi.c
index 18e2104d803f..3c467f10c055 100644
--- a/sys/dev/ppbus/ppi.c
+++ b/sys/dev/ppbus/ppi.c
@@ -149,13 +149,9 @@ ppi_identify(driver_t *driver, device_t parent)
 static int
 ppi_probe(device_t dev)
 {
-	struct ppi_data *ppi;
-
 	/* probe is always ok */
 	device_set_desc(dev, "Parallel I/O");
 
-	ppi = DEVTOSOFTC(dev);
-
 	return (0);
 }
 



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