bridge: cleanup: remove unused assignment
Subsystems (3)
PATCH 1/1 bridge: cleanup: remove unused assignment
We never actually use iph again so this assignment can be removed.
Signed-off-by Dan Carpenter <[email protected]>
net/bridge/br_multicast.c +0 -2
@@ -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))
Quoted 3 lines · Dan Carpenter
We never actually use iph again so this assignment can be removed.
Signed-off-by Dan Carpenter <[email protected]>
Acked-by Herbert Xu <[email protected]>
Thanks,
Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txtFrom: Herbert Xu <[email protected]>
Date: Sat, 20 Mar 2010 19:57:47 +0800
Quoted 6 lines · Dan Carpenter
Quoted 3 lines
We never actually use iph again so this assignment can be removed.
Signed-off-by Dan Carpenter <[email protected]>Acked-by Herbert Xu <[email protected]>
Applied, thanks.