]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[IPV4]: Remove bugus goto-s from ip_route_input_slow
authorPavel Emelyanov <xemul@openvz.org>
Sun, 11 Nov 2007 05:26:41 +0000 (21:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Nov 2007 05:26:41 +0000 (21:26 -0800)
commitb1667609cd9a98ce32559e06f36fca54c775a51f
tree4e3c5aa7add5c67434f3123723be0aff5fb6f9c2
parentfbd52eb2bd17bd3468974aa2fdce140f0cd32fc7
[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 <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c