diff options
author | andreast <andreast@FreeBSD.org> | 2011-01-06 20:19:01 +0000 |
---|---|---|
committer | andreast <andreast@FreeBSD.org> | 2011-01-06 20:19:01 +0000 |
commit | b3910b1de1b8d471bd61ec5de83e1a07d03ea512 (patch) | |
tree | 6e3101400b08e8d0ca8ab1ddae979bdefce18c28 /sys/powerpc/powermac/macgpio.c | |
parent | 406dbc36d263fb5aa578c85efc239621e4d0bad9 (diff) | |
download | FreeBSD-src-b3910b1de1b8d471bd61ec5de83e1a07d03ea512.zip FreeBSD-src-b3910b1de1b8d471bd61ec5de83e1a07d03ea512.tar.gz |
Remove unused variables. Spotted by a cppcheck
(devel/cppcheck, http://sourceforge.net/projects/cppcheck) run.
Approved by: nwhitehorn (mentor)
Diffstat (limited to 'sys/powerpc/powermac/macgpio.c')
-rw-r--r-- | sys/powerpc/powermac/macgpio.c | 2 |
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) |