commit | f738a13d8365b0f824f3f20450b413f55374f175 | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | Thu Mar 20 15:00:35 2014 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 20 17:22:10 2014 -0400 |
tree | 788926a610e69f46818ec6e831948f99d9675c9a | |
parent | daacf03f0bbfefee3df107c3f7659d22e22538a7 [diff] |
sh_eth: Remove goto statements that jump straight to a return "goto" is well accepted for error paths in the kernel but should not be used unnecessarily. Return the correct value directly instead of using a goto when possible. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: David S. Miller <davem@davemloft.net>