aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mca
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>1999-09-26 18:05:37 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>1999-09-26 18:05:37 +0000
commit20530663b32f65e1dc3492786760d86dd99ad266 (patch)
tree626589d24487313fd491d006d4c02796c39cf043 /sys/dev/mca
parent58e4bcc53a2c25e91b06bd4ee7f839d1bacb21e4 (diff)
downloadsrc-20530663b32f65e1dc3492786760d86dd99ad266.tar.gz
src-20530663b32f65e1dc3492786760d86dd99ad266.zip
device_get_ivars() called twice. Remove second call and assignment.
Noticed by: Peter
Notes
Notes: svn path=/head/; revision=51678
Diffstat (limited to 'sys/dev/mca')
-rw-r--r--sys/dev/mca/mca_bus.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/mca/mca_bus.c b/sys/dev/mca/mca_bus.c
index e9fc73c8a18b..fb54731331ee 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);