summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/powermac/uninorth.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/powermac/uninorth.c')
-rw-r--r--sys/powerpc/powermac/uninorth.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/powerpc/powermac/uninorth.c b/sys/powerpc/powermac/uninorth.c
index dba91ca..5921a5b 100644
--- a/sys/powerpc/powermac/uninorth.c
+++ b/sys/powerpc/powermac/uninorth.c
@@ -530,11 +530,8 @@ static int
unin_chip_activate_resource(device_t bus, device_t child, int type, int rid,
struct resource *res)
{
- struct unin_chip_softc *sc;
void *p;
- sc = device_get_softc(bus);
-
if (type == SYS_RES_IRQ)
return (bus_activate_resource(bus, type, rid, res));
OpenPOWER on IntegriCloud