diff options
author | 2019-07-05 17:56:45 +0800 | |
---|---|---|
committer | 2019-07-08 12:28:44 +0100 | |
commit | afd899d3c8549cc82c8b329c0145e213c0755e60 (patch) | |
tree | 5c6b0846974e6285a78b8c0596c0597fb50043c3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI: mobiveil: Fix error return values (diff) | |
download | linux-dev-afd899d3c8549cc82c8b329c0145e213c0755e60.tar.xz linux-dev-afd899d3c8549cc82c8b329c0145e213c0755e60.zip |
PCI: mobiveil: Remove an unnecessary return value check
The memory for the host controller private structure (struct
mobiveil_pcie) is allocated together with the pci_host_bridge structure
in function devm_pci_alloc_host_bridge(), so it is unnecessary to check
the return value when get the private structure pointer.
Remove the useless check.
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Minghuan Lian <Minghuan.Lian@nxp.com>
Reviewed-by: Subrahmanya Lingappa <l.subrahmanya@mobiveil.co.in>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions