Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dbeb4bd8 authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

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: default avatarBjorn Helgaas <bhelgaas@google.com>
parent ee34264e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment