summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/powermac/macgpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/powermac/macgpio.c')
-rw-r--r--sys/powerpc/powermac/macgpio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/powerpc/powermac/macgpio.c b/sys/powerpc/powermac/macgpio.c
index 5bdd54d..a5d5772 100644
--- a/sys/powerpc/powermac/macgpio.c
+++ b/sys/powerpc/powermac/macgpio.c
@@ -264,10 +264,8 @@ static struct resource *
macgpio_alloc_resource(device_t bus, device_t child, int type, int *rid,
u_long start, u_long end, u_long count, u_int flags)
{
- struct macgpio_softc *sc;
struct macgpio_devinfo *dinfo;
- sc = device_get_softc(bus);
dinfo = device_get_ivars(child);
if (type != SYS_RES_IRQ)
OpenPOWER on IntegriCloud