diff options
author | Murali Karicheri <m-karicheri2@ti.com> | 2016-04-11 16:50:31 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-04-25 21:23:54 +0200 |
commit | 1e9f8dcf892ddb183405cb2414bfc37b40300693 (patch) | |
tree | a7438ee70398150cc85ee6804c932ced3110e79c /Documentation | |
parent | PCI: keystone: Add error IRQ handler (diff) | |
download | linux-1e9f8dcf892ddb183405cb2414bfc37b40300693.tar.xz linux-1e9f8dcf892ddb183405cb2414bfc37b40300693.zip |
PCI: keystone: Remove unnecessary goto statement
Fix the misuse of goto statement in ks_pcie_get_irq_controller_info() as
simple return is more appropriate for this function. While at it add an
error log for absence of interrupt controller node.
[bhelgaas: drop "ret" altogether since we always know the return value]
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Rob Herring <robh+dt@kernel.org>
CC: Pawel Moll <pawel.moll@arm.com>
CC: Mark Rutland <mark.rutland@arm.com>
CC: Ian Campbell <ijc+devicetree@hellion.org.uk>
CC: Kumar Gala <galak@codeaurora.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions