netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ipvs: remove shadow rt variable
@ 2010-11-15 18:46 Eric Dumazet
  2010-11-15 22:03 ` Simon Horman
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Dumazet @ 2010-11-15 18:46 UTC (permalink / raw)
  To: Simon Horman; +Cc: Netfilter Development Mailinglist

Remove a sparse warning about rt variable.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
---
 net/netfilter/ipvs/ip_vs_xmit.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/net/netfilter/ipvs/ip_vs_xmit.c b/net/netfilter/ipvs/ip_vs_xmit.c
index 10bd39c..50b131c 100644
--- a/net/netfilter/ipvs/ip_vs_xmit.c
+++ b/net/netfilter/ipvs/ip_vs_xmit.c
@@ -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;



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ipvs: remove shadow rt variable
  2010-11-15 18:46 [PATCH] ipvs: remove shadow rt variable Eric Dumazet
@ 2010-11-15 22:03 ` Simon Horman
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2010-11-15 22:03 UTC (permalink / raw)
  To: Eric Dumazet; +Cc: Netfilter Development Mailinglist

On Mon, Nov 15, 2010 at 07:46:33PM +0100, Eric Dumazet wrote:
> Remove a sparse warning about rt variable.
> 
> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>

Thanks, I'll take this through the lvs-test-2.6 tree.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-15 22:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-15 18:46 [PATCH] ipvs: remove shadow rt variable Eric Dumazet
2010-11-15 22:03 ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).