Attention is currently required from: Arthur Heymans. Hello Arthur Heymans,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/62965
to review the following change.
Change subject: [RFC]device/device.h: Remove struct bus linked list ......................................................................
[RFC]device/device.h: Remove struct bus linked list
The current allocator code never loops over the next busses so remove this linked list and always assume one downstream bus per device.
Change-Id: Ib757957d6470111651f88b550df06c4c953b777f Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/include/device/device.h 1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/65/62965/1
diff --git a/src/include/device/device.h b/src/include/device/device.h index 237d836..938ab5e 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -77,7 +77,6 @@
DEVTREE_CONST struct device *dev; /* This bridge device */ DEVTREE_CONST struct device *children; /* devices behind this bridge */ - DEVTREE_CONST struct bus *next; /* The next bridge on this device */ unsigned int bridge_ctrl; /* Bridge control register */ uint16_t bridge_cmd; /* Bridge command register */ unsigned char link_num; /* The index of this link */