git: de80fb0ace15 - main - ppi_probe: eliminate unused variable ppi
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Apr 2022 04:32:30 UTC
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); }