Dan Carpenter
2010-Mar-20 11:20 UTC
[Bridge] [patch] bridge: cleanup: remove unused assignment
We never actually use iph again so this assignment can be removed. Signed-off-by: Dan Carpenter <error27 at gmail.com> diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c index 6980625..9f0c4f0 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))
Herbert Xu
2010-Mar-20 11:57 UTC
[Bridge] [patch] bridge: cleanup: remove unused assignment
On Sat, Mar 20, 2010 at 02:20:49PM +0300, Dan Carpenter wrote:> We never actually use iph again so this assignment can be removed. > > Signed-off-by: Dan Carpenter <error27 at gmail.com>Acked-by: Herbert Xu <herbert at gondor.apana.org.au> Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert at gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
David Miller
2010-Mar-22 04:30 UTC
[Bridge] [patch] bridge: cleanup: remove unused assignment
From: Herbert Xu <herbert at gondor.apana.org.au> Date: Sat, 20 Mar 2010 19:57:47 +0800> On Sat, Mar 20, 2010 at 02:20:49PM +0300, Dan Carpenter wrote: >> We never actually use iph again so this assignment can be removed. >> >> Signed-off-by: Dan Carpenter <error27 at gmail.com> > > Acked-by: Herbert Xu <herbert at gondor.apana.org.au>Applied, thanks.