Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b1667609cd9a98ce32559e06f36fca54c775a51f Commit: b1667609cd9a98ce32559e06f36fca54c775a51f Parent: fbd52eb2bd17bd3468974aa2fdce140f0cd32fc7 Author: Pavel Emelyanov <[EMAIL PROTECTED]> AuthorDate: Sat Nov 10 21:26:41 2007 -0800 Committer: David S. Miller <[EMAIL PROTECTED]> CommitDate: Sat Nov 10 21:26:41 2007 -0800
[IPV4]: Remove bugus goto-s from ip_route_input_slow Both places look like if (err == XXX) goto yyy; done: while both yyy targets look like err = XXX; goto done; so this is ok to remove the above if-s. yyy labels are used in other places and are not removed. Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> Signed-off-by: David S. Miller <[EMAIL PROTECTED]> --- net/ipv4/route.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 21b12de..c95b270 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -1813,11 +1813,6 @@ static int ip_route_input_slow(struct sk_buff *skb, __be32 daddr, __be32 saddr, goto martian_destination; err = ip_mkroute_input(skb, &res, &fl, in_dev, daddr, saddr, tos); - if (err == -ENOBUFS) - goto e_nobufs; - if (err == -EINVAL) - goto e_inval; - done: in_dev_put(in_dev); if (free_res) - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html