device_get_ivars() called twice. Remove second call and assignment.

Noticed by: Peter
This commit is contained in:
Matthew N. Dodd 1999-09-26 18:05:37 +00:00
parent 58e4bcc53a
commit 20530663b3

View File

@ -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);