All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bridge] [patch] bridge: cleanup: remove unused assignment
@ 2010-03-20 11:20 ` Dan Carpenter
  0 siblings, 0 replies; 6+ messages in thread
From: Dan Carpenter @ 2010-03-20 11:20 UTC (permalink / raw)
  To: Herbert Xu
  Cc: YOSHIFUJI Hideaki, netdev, bridge, kernel-janitors, Michael Braun,
	Paul E. McKenney, David S. Miller

We never actually use iph again so this assignment can be removed.

Signed-off-by: Dan Carpenter <error27@gmail.com>

diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c
index 6980625..9f0c4f0 100644
--- a/net/bridge/br_multicast.c
+++ b/net/bridge/br_multicast.c
@@ -1003,8 +1003,6 @@ static int br_multicast_ipv4_rcv(struct net_bridge *br,
 	if (!pskb_may_pull(skb2, sizeof(*ih)))
 		goto out;
 
-	iph = ip_hdr(skb2);
-
 	switch (skb2->ip_summed) {
 	case CHECKSUM_COMPLETE:
 		if (!csum_fold(skb2->csum))

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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-20 11:20 [Bridge] [patch] bridge: cleanup: remove unused assignment Dan Carpenter
2010-03-20 11:20 ` Dan Carpenter
2010-03-20 11:57 ` [Bridge] " Herbert Xu
2010-03-20 11:57   ` Herbert Xu
2010-03-22  4:30   ` [Bridge] " David Miller
2010-03-22  4:30     ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.