Both host_head and host_tail are not used anywhere in the codebase and look like a leftover. Remove them. Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx> --- drivers/pci/pci.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index e1c059f2a9..9bfa54d054 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -4,8 +4,6 @@ #include <linux/sizes.h> #include <linux/pci.h> -static struct pci_controller *hose_head, **hose_tail = &hose_head; - LIST_HEAD(pci_root_buses); EXPORT_SYMBOL(pci_root_buses); static resource_size_t last[PCI_BRIDGE_RESOURCE_NUM]; @@ -44,9 +42,6 @@ void register_pci_controller(struct pci_controller *hose) struct pci_bus *bus; int r; - *hose_tail = hose; - hose_tail = &hose->next; - bus = pci_alloc_bus(); hose->bus = bus; bus->parent = hose->parent; -- 2.20.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox