aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ppbus
diff options
context:
space:
mode:
authorPaolo Pisati <piso@FreeBSD.org>2007-03-06 11:44:11 +0000
committerPaolo Pisati <piso@FreeBSD.org>2007-03-06 11:44:11 +0000
commitec383c971f74bafed1a6bd7a3166f237481ba9ee (patch)
tree092151d9a3f4ba0055df2441f5aa519ab9f811d5 /sys/dev/ppbus
parent72565ac3e8a1fc7d4282968a8e4d3ad176f3d935 (diff)
downloadsrc-ec383c971f74bafed1a6bd7a3166f237481ba9ee.tar.gz
src-ec383c971f74bafed1a6bd7a3166f237481ba9ee.zip
Remove a useless cast from void * to struct ppb_device *.
Notes
Notes: svn path=/head/; revision=167265
Diffstat (limited to 'sys/dev/ppbus')
-rw-r--r--sys/dev/ppbus/ppbconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ppbus/ppbconf.c b/sys/dev/ppbus/ppbconf.c
index 40851d608975..cb5da93528f5 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)