twsi: Plug set but not used variable

Sponsored by:	Beckhoff Automation GmbH & Co. KG
This commit is contained in:
Emmanuel Vadot 2022-02-21 11:03:57 +01:00
parent 6582b75a32
commit 4f118605ad

View File

@ -138,9 +138,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);