The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=d118ccd745986e01289245c805036bbe436e7a25
commit d118ccd745986e01289245c805036bbe436e7a25 Author: Andrew Turner <and...@freebsd.org> AuthorDate: 2025-08-20 09:14:50 +0000 Commit: Andrew Turner <and...@freebsd.org> CommitDate: 2025-08-21 08:37:53 +0000 dev/fdt: Remove fdt_ic_list It was last used in virtio_mmio. As it appears to have been used for cross referencing devices and the existing xref support should be used in new code it can be removed. Reviewed by: br Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D51994 --- sys/dev/fdt/fdt_common.c | 2 -- sys/dev/fdt/fdt_common.h | 7 ------- 2 files changed, 9 deletions(-) diff --git a/sys/dev/fdt/fdt_common.c b/sys/dev/fdt/fdt_common.c index 1fea4c6f1392..f43551c6310e 100644 --- a/sys/dev/fdt/fdt_common.c +++ b/sys/dev/fdt/fdt_common.c @@ -62,8 +62,6 @@ SYSCTL_NODE(_hw, OID_AUTO, fdt, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, "Flattened Device Tree"); -struct fdt_ic_list fdt_ic_list_head = SLIST_HEAD_INITIALIZER(fdt_ic_list_head); - static int fdt_get_range_by_busaddr(phandle_t node, u_long addr, u_long *base, u_long *size) diff --git a/sys/dev/fdt/fdt_common.h b/sys/dev/fdt/fdt_common.h index ece54290a6ad..f597233f9771 100644 --- a/sys/dev/fdt/fdt_common.h +++ b/sys/dev/fdt/fdt_common.h @@ -59,13 +59,6 @@ struct fdt_fixup_entry { extern struct fdt_fixup_entry fdt_fixup_table[]; #endif -extern SLIST_HEAD(fdt_ic_list, fdt_ic) fdt_ic_list_head; -struct fdt_ic { - SLIST_ENTRY(fdt_ic) fdt_ics; - ihandle_t iph; - device_t dev; -}; - #if defined(FDT_DTB_STATIC) extern u_char fdt_static_dtb; #endif