of: Drop struct of_pci_range.pci_space field
authorRob Herring <robh@kernel.org>
Thu, 13 Feb 2020 23:20:20 +0000 (17:20 -0600)
committerRob Herring <robh@kernel.org>
Fri, 14 Feb 2020 20:25:25 +0000 (14:25 -0600)
There's no more users of struct of_pci_range.pci_space field, so remove it.

Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/address.c
include/linux/of_address.h

index 846045a483953d208ce04e717a61739e5a5c8eef..5d608d7c10d653dac94ed244f12545a2f9783443 100644 (file)
@@ -736,7 +736,6 @@ struct of_pci_range *of_pci_range_parser_one(struct of_pci_range_parser *parser,
        if (!parser->range || parser->range + parser->np > parser->end)
                return NULL;
 
-       range->pci_space = be32_to_cpup(parser->range);
        range->flags = of_bus_pci_get_flags(parser->range);
        range->pci_addr = of_read_number(parser->range + 1, ns);
        if (parser->dma)
index eac7ab109df40892e55d2fdb5a003bbf294b7b87..8d12bf18e80baa1c5739bb4427313d2be2a0a76c 100644 (file)
@@ -16,7 +16,6 @@ struct of_pci_range_parser {
 };
 
 struct of_pci_range {
-       u32 pci_space;
        u64 pci_addr;
        u64 cpu_addr;
        u64 size;