ipvs: remove shadow rt variable
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 15 Nov 2010 18:46:33 +0000 (19:46 +0100)
committerSimon Horman <horms@verge.net.au>
Mon, 15 Nov 2010 23:13:08 +0000 (08:13 +0900)
Remove a sparse warning about rt variable.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_xmit.c

index 10bd39c0ae2d6941925855909ba680a69987039b..50b131c28b85b4e1233411bd6be62e4f84ba9ff6 100644 (file)
@@ -188,7 +188,6 @@ __ip_vs_reroute_locally(struct sk_buff *skb)
                        },
                        .mark = skb->mark,
                };
-               struct rtable *rt;
 
                if (ip_route_output_key(net, &rt, &fl))
                        return 0;