git: f379ab270c1d - stable/13 - twsi: Plug set but not used variable

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Mon, 16 May 2022 13:21:29 UTC
The branch stable/13 has been updated by manu:

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

commit f379ab270c1d514b0baeaad27e29fda1ef5bb93f
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-02-21 10:03:57 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-05-16 13:15:44 +0000

    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 97ed63524b9a..7ad6ee68827f 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);