Fix a set but not used warning in the arm GIC driver
Sponsored by: Innovate UK
This commit is contained in:
parent
2b556942cc
commit
36499dc789
@ -510,10 +510,6 @@ arm_gic_read_ivar(device_t dev, device_t child, int which, uintptr_t *result)
|
||||
static int
|
||||
arm_gic_write_ivar(device_t dev, device_t child, int which, uintptr_t value)
|
||||
{
|
||||
struct arm_gic_softc *sc;
|
||||
|
||||
sc = device_get_softc(dev);
|
||||
|
||||
switch(which) {
|
||||
case GIC_IVAR_HW_REV:
|
||||
case GIC_IVAR_BUS:
|
||||
|
Loading…
x
Reference in New Issue
Block a user