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:
parent
8d1e57a1a8
commit
34df2dfa51
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user