From b3910b1de1b8d471bd61ec5de83e1a07d03ea512 Mon Sep 17 00:00:00 2001 From: andreast Date: Thu, 6 Jan 2011 20:19:01 +0000 Subject: Remove unused variables. Spotted by a cppcheck (devel/cppcheck, http://sourceforge.net/projects/cppcheck) run. Approved by: nwhitehorn (mentor) --- sys/powerpc/powermac/macgpio.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/powerpc/powermac/macgpio.c') 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) -- cgit v1.1