aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_multicast.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-03-19 21:20:49 -0400
committerDavid S. Miller <davem@davemloft.net>2010-03-22 00:21:58 -0400
commit7668448ea91cda36661878da54c851f8eb239d8e (patch)
tree60e89ee236f15dec8fca3d46f4717fa35d48f2e7 /net/bridge/br_multicast.c
parent986917b7b7570f889fa9c8c54962a9f2c3b32bf4 (diff)
bridge: cleanup: remove unused assignment
We never actually use iph again so this assignment can be removed. Signed-off-by: Dan Carpenter <error27@gmail.com> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_multicast.c')
-rw-r--r--net/bridge/br_multicast.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c
index 6980625537ca..9f0c4f065604 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,
1003 if (!pskb_may_pull(skb2, sizeof(*ih))) 1003 if (!pskb_may_pull(skb2, sizeof(*ih)))
1004 goto out; 1004 goto out;
1005 1005
1006 iph = ip_hdr(skb2);
1007
1008 switch (skb2->ip_summed) { 1006 switch (skb2->ip_summed) {
1009 case CHECKSUM_COMPLETE: 1007 case CHECKSUM_COMPLETE:
1010 if (!csum_fold(skb2->csum)) 1008 if (!csum_fold(skb2->csum))