diff options
author | Murali Karicheri <[email protected]> | 2016-04-11 10:50:31 -0400 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2016-04-25 14:23:54 -0500 |
commit | 1e9f8dcf892ddb183405cb2414bfc37b40300693 (patch) | |
tree | a7438ee70398150cc85ee6804c932ced3110e79c /lib/string_helpers.c | |
parent | 025dd3daeda77f61a280da87ae7015a6808dfe1f (diff) |
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 <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
CC: Rob Herring <[email protected]>
CC: Pawel Moll <[email protected]>
CC: Mark Rutland <[email protected]>
CC: Ian Campbell <[email protected]>
CC: Kumar Gala <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions