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:
parent
58e4bcc53a
commit
20530663b3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51678
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user