diff options
author | Dan Carpenter <error27@gmail.com> | 2010-03-20 01:20:49 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-21 21:21:58 -0700 |
commit | 7668448ea91cda36661878da54c851f8eb239d8e (patch) | |
tree | 60e89ee236f15dec8fca3d46f4717fa35d48f2e7 /net | |
parent | 986917b7b7570f889fa9c8c54962a9f2c3b32bf4 (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')
-rw-r--r-- | net/bridge/br_multicast.c | 2 |
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)) |