1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51678

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