diff options
author | Dan Carpenter <error27@gmail.com> | 2010-03-20 02:20:49 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-22 05:21:58 +0100 |
commit | 7668448ea91cda36661878da54c851f8eb239d8e (patch) | |
tree | 60e89ee236f15dec8fca3d46f4717fa35d48f2e7 /net/bridge | |
parent | can: sja1000: add read/write routines for 8, 16 and 32-bit register access (diff) | |
download | linux-7668448ea91cda36661878da54c851f8eb239d8e.tar.xz linux-7668448ea91cda36661878da54c851f8eb239d8e.zip |
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.c | 2 |
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, 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)) |