Both host_head and host_tail are not used anywhere in the codebase and look like a leftover. Remove them. Reviewed-by: Sam Ravnborg <sam@xxxxxxxxxxxx> 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 265c416085..496879c216 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 u8 bus_index; @@ -46,9 +44,6 @@ void register_pci_controller(struct pci_controller *hose) { struct pci_bus *bus; - *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