diff options
author | mdodd <mdodd@FreeBSD.org> | 1999-09-26 18:05:37 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 1999-09-26 18:05:37 +0000 |
commit | 29cc7c5de325daa8aee11f19ea2377c39c3d6477 (patch) | |
tree | de234fb1694d310d8fc9100a87092f920bd7d63a /sys/dev/mca | |
parent | 29da608827f7aca736bd737004eccd1d315f708d (diff) | |
download | FreeBSD-src-29cc7c5de325daa8aee11f19ea2377c39c3d6477.zip FreeBSD-src-29cc7c5de325daa8aee11f19ea2377c39c3d6477.tar.gz |
device_get_ivars() called twice. Remove second call and assignment.
Noticed by: Peter
Diffstat (limited to 'sys/dev/mca')
-rw-r--r-- | sys/dev/mca/mca_bus.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/mca/mca_bus.c b/sys/dev/mca/mca_bus.c index e9fc73c..fb54731 100644 --- a/sys/dev/mca/mca_bus.c +++ b/sys/dev/mca/mca_bus.c @@ -475,7 +475,6 @@ mca_alloc_resource (device_t dev, device_t child, int type, int *rid, int isdefault; int passthrough; - m_dev = device_get_ivars(child); isdefault = (start == 0UL && end == ~0UL); passthrough = (device_get_parent(child) != dev); |