forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
986917b7b7
commit
7668448ea9
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user