git: ea9d26ee8a50 - stable/13 - ppi_probe: eliminate unused variable ppi
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Oct 2022 04:29:40 UTC
The branch stable/13 has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=ea9d26ee8a50f66397fc71cfef3dc92c2c0f5f51
commit ea9d26ee8a50f66397fc71cfef3dc92c2c0f5f51
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-07-08 17:53:31 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-10-02 04:25:53 +0000
ppi_probe: eliminate unused variable ppi
Sponsored by: Netflix
(cherry picked from commit de80fb0ace15528ae86a97c97dd7b7cf7949ee83)
---
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);
}