diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2015-04-09 22:36:52 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-04-09 22:36:52 +0300 |
commit | e3dc17a53f9649d0a67ec69ec883e781fa9dd920 (patch) | |
tree | d8c61fcc6d5da36ba3372c63f9a3cf248d16e423 /drivers/net | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 (diff) | |
download | linux-e3dc17a53f9649d0a67ec69ec883e781fa9dd920.tar.xz |
PCI: layerscape: Simplify platform_get_resource_byname() failure checking
devm_ioremap_resource() validates the resource it receives, so if we check
for devm_ioremap_resource() failure, we need not check for failure of the
preceding platform_get_resource().
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions