summaryrefslogtreecommitdiff
path: root/net/bridge
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-03-20 01:20:49 +0000
committerDavid S. Miller <davem@davemloft.net>2010-03-21 21:21:58 -0700
commit7668448ea91cda36661878da54c851f8eb239d8e (patch)
tree60e89ee236f15dec8fca3d46f4717fa35d48f2e7 /net/bridge
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')
-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 6980625537c..9f0c4f06560 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))