bcm2835_gpio: Remove unused variable.

This was a static local (i.e. a global variable) which was probably
not intended.
This commit is contained in:
John Baldwin 2022-04-08 17:25:15 -07:00
parent 8d1e57a1a8
commit 34df2dfa51

View File

@ -1208,9 +1208,7 @@ bcm_gpio_configure_pins(device_t dev, phandle_t cfgxref)
uint32_t *pins;
uint32_t *pulls;
uint32_t function;
static struct bcm_gpio_softc *sc;
sc = device_get_softc(dev);
cfgnode = OF_node_from_xref(cfgxref);
pins = NULL;