diff options
author | Matthew N. Dodd <mdodd@FreeBSD.org> | 1999-09-26 18:05:37 +0000 |
---|---|---|
committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 1999-09-26 18:05:37 +0000 |
commit | 20530663b32f65e1dc3492786760d86dd99ad266 (patch) | |
tree | 626589d24487313fd491d006d4c02796c39cf043 /sys/dev | |
parent | 58e4bcc53a2c25e91b06bd4ee7f839d1bacb21e4 (diff) | |
download | src-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')
-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 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); |