diff options
| author | Lorenzo Pieralisi <[email protected]> | 2015-02-11 04:58:35 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2015-02-11 21:27:15 +0000 |
| commit | feb28979c137ba3f649ad36fc27c85c64c111f78 (patch) | |
| tree | 72bcf44869bb59a71fe06f0741240229e503aa8a /fs/ubifs/commit.c | |
| parent | Merge tag 'pm+acpi-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
| download | kernel-feb28979c137ba3f649ad36fc27c85c64c111f78.tar.gz kernel-feb28979c137ba3f649ad36fc27c85c64c111f78.zip | |
of/pci: Remove duplicate kfree in of_pci_get_host_bridge_resources()
Commit d2be00c0fb5a ("of/pci: Free resources on failure in
of_pci_get_host_bridge_resources()") fixed the error path so it frees
everything on the "resources" list. That list includes the bus_range, so
we should not free it again.
Remove the superfluous free of bus_range.
[bhelgaas: changelog]
Fixes: d2be00c0fb5a ("of/pci: Free resources on failure in of_pci_get_host_bridge_resources()")
Reported-by: Jiang Liu <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
CC: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions
