diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2016-08-22 21:12:11 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-09-12 23:54:17 +0200 |
commit | 6c8b12080e9775d13dd99a4cd3d9e79448bf93f7 (patch) | |
tree | e4e5cce60e0e372793d665deb23f0e93c19b5e2d /arch | |
parent | PCI: altera: Move retrain from fixup to altera_pcie_host_init() (diff) | |
download | linux-6c8b12080e9775d13dd99a4cd3d9e79448bf93f7.tar.xz linux-6c8b12080e9775d13dd99a4cd3d9e79448bf93f7.zip |
PCI: altera: Remove redundant platform_get_resource() return value check
devm_ioremap_resource() fails gracefully when given a NULL resource
pointer, so we don't need to check separately for failure from
platform_get_resource_byname(). Remove the redundant check.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions