From f379ab270c1d514b0baeaad27e29fda1ef5bb93f Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Mon, 21 Feb 2022 11:03:57 +0100 Subject: [PATCH] twsi: Plug set but not used variable Sponsored by: Beckhoff Automation GmbH & Co. KG (cherry picked from commit 4f118605ad5f8aa5df749e99ee9822f5f1c997b5) --- sys/dev/iicbus/twsi/mv_twsi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/iicbus/twsi/mv_twsi.c b/sys/dev/iicbus/twsi/mv_twsi.c index 97ed63524b9..7ad6ee68827 100644 --- a/sys/dev/iicbus/twsi/mv_twsi.c +++ b/sys/dev/iicbus/twsi/mv_twsi.c @@ -136,9 +136,7 @@ mv_twsi_get_node(device_t bus, device_t dev) static int mv_twsi_probe(device_t dev) { - struct twsi_softc *sc; - sc = device_get_softc(dev); if (!ofw_bus_status_okay(dev)) return (ENXIO); -- 2.45.0