From de80fb0ace15528ae86a97c97dd7b7cf7949ee83 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 4 Apr 2022 20:12:17 -0600 Subject: [PATCH] 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 18e2104d803..3c467f10c05 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); }