mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
gpio pl061: Remove unused variables.
This commit is contained in:
parent
67f6cad3ab
commit
ae4bffd5d2
1 changed files with 0 additions and 6 deletions
|
|
@ -103,9 +103,6 @@ pl061_pin_max(device_t dev, int *maxpin)
|
|||
static int
|
||||
pl061_pin_getname(device_t dev, uint32_t pin, char *name)
|
||||
{
|
||||
struct pl061_softc *sc;
|
||||
|
||||
sc = device_get_softc(dev);
|
||||
if (pin >= PL061_NUM_GPIO)
|
||||
return (EINVAL);
|
||||
|
||||
|
|
@ -140,9 +137,6 @@ pl061_pin_getflags(device_t dev, uint32_t pin, uint32_t *flags)
|
|||
static int
|
||||
pl061_pin_getcaps(device_t dev, uint32_t pin, uint32_t *caps)
|
||||
{
|
||||
struct pl061_softc *sc;
|
||||
|
||||
sc = device_get_softc(dev);
|
||||
if (pin >= PL061_NUM_GPIO)
|
||||
return (EINVAL);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue