PCI: altera: Remove redundant platform_get_resource() return value check
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 22 Aug 2016 19:12:11 +0000 (14:12 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 12 Sep 2016 21:54:17 +0000 (16:54 -0500)
commit6c8b12080e9775d13dd99a4cd3d9e79448bf93f7
treee4e5cce60e0e372793d665deb23f0e93c19b5e2d
parentce4f1c7ad490aa7129bde5632d6e53943f8a866c
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>
drivers/pci/host/pcie-altera-msi.c