diff options
| author | Rob Herring <robh@kernel.org> | 2020-05-22 17:48:20 -0600 |
|---|---|---|
| committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2020-07-10 11:50:05 +0100 |
| commit | e63434f4cc0da0f3ffe60d932997842f60552517 (patch) | |
| tree | 375dc4785fa14be86c32a7e0ce5832894f4ed4cd /lib/mpi/mpi-cmp.c | |
| parent | c322fa0b3fa948010a278794e60c45ec860e4a1e (diff) | |
PCI: host-common: Use struct pci_host_bridge.windows list directly
There's no need to create a temporary resource list and then splice it to
struct pci_host_bridge.windows list. Just use pci_host_bridge.windows
directly. The necessary clean-up is already handled by the PCI core.
Link: https://lore.kernel.org/r/20200522234832.954484-4-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Will Deacon <will@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
