struct pcie_port::mem_base is set but not used. Remove it. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- drivers/pci/pcie-designware-host.c | 2 -- drivers/pci/pcie-designware.h | 1 - 2 files changed, 3 deletions(-) diff --git a/drivers/pci/pcie-designware-host.c b/drivers/pci/pcie-designware-host.c index b34fc482ed..bebdb5cbc7 100644 --- a/drivers/pci/pcie-designware-host.c +++ b/drivers/pci/pcie-designware-host.c @@ -152,8 +152,6 @@ int __init dw_pcie_host_init(struct pcie_port *pp) if (!pci->dbi_base) pci->dbi_base = IOMEM(pp->cfg.start); - pp->mem_base = pp->mem.start; - if (!pp->va_cfg0_base) pp->va_cfg0_base = IOMEM((unsigned long)pp->cfg0_base); diff --git a/drivers/pci/pcie-designware.h b/drivers/pci/pcie-designware.h index 4bb0795d06..0de7b8a868 100644 --- a/drivers/pci/pcie-designware.h +++ b/drivers/pci/pcie-designware.h @@ -158,7 +158,6 @@ struct pcie_port { u64 io_mod_base; phys_addr_t io_bus_addr; u32 io_size; - u64 mem_base; u64 mem_mod_base; phys_addr_t mem_bus_addr; u32 mem_size; -- 2.39.2