diff options
author | piso <piso@FreeBSD.org> | 2007-03-06 11:44:11 +0000 |
---|---|---|
committer | piso <piso@FreeBSD.org> | 2007-03-06 11:44:11 +0000 |
commit | d62d6373edc307b540f9369298e260f67e2019ac (patch) | |
tree | 092151d9a3f4ba0055df2441f5aa519ab9f811d5 | |
parent | 3770ad6ae9c91c171139cd91f5c785a25e0ca58f (diff) | |
download | FreeBSD-src-d62d6373edc307b540f9369298e260f67e2019ac.zip FreeBSD-src-d62d6373edc307b540f9369298e260f67e2019ac.tar.gz |
Remove a useless cast from void * to struct ppb_device *.
-rw-r--r-- | sys/dev/ppbus/ppbconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ppbus/ppbconf.c b/sys/dev/ppbus/ppbconf.c index 40851d6..cb5da93 100644 --- a/sys/dev/ppbus/ppbconf.c +++ b/sys/dev/ppbus/ppbconf.c @@ -421,7 +421,7 @@ ppbus_setup_intr(device_t bus, device_t child, struct resource *r, int flags, { int error; struct ppb_data *ppb = DEVTOSOFTC(bus); - struct ppb_device *ppbdev = (struct ppb_device *)device_get_ivars(child); + struct ppb_device *ppbdev = device_get_ivars(child); /* a device driver must own the bus to register an interrupt */ if (ppb->ppb_owner != child) |