Fix a set but not used warning in the arm GIC driver

Sponsored by:	Innovate UK
This commit is contained in:
Andrew Turner 2021-12-10 12:30:01 +00:00
parent 2b556942cc
commit 36499dc789

View File

@ -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: