bridge: cleanup: remove unused assignment
authorDan Carpenter <error27@gmail.com>
Sat, 20 Mar 2010 01:20:49 +0000 (01:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Mar 2010 04:21:58 +0000 (21:21 -0700)
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>
net/bridge/br_multicast.c

index 6980625537caa15e5f0a479eccca15c3341073a3..9f0c4f06560414467eafb357aa4bf40cd1d1b516 100644 (file)
@@ -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))