From: Dan Carpenter Date: Sat, 20 Mar 2010 01:20:49 +0000 (+0000) Subject: bridge: cleanup: remove unused assignment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7668448ea91cda36661878da54c851f8eb239d8e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git bridge: cleanup: remove unused assignment We never actually use iph again so this assignment can be removed. Signed-off-by: Dan Carpenter Acked-by: Herbert Xu Signed-off-by: David S. Miller --- 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))