net: ipv6: remove unused code in ipv6_find_hdr()
authorLin Zhang <xiaolou4617@gmail.com>
Thu, 5 Oct 2017 18:07:08 +0000 (02:07 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Oct 2017 04:53:02 +0000 (21:53 -0700)
commit380537b4f7f2e706e499695b38eabc90a5f72fa8
treeef54b2785411d2e5072b4a4898888a4bf7d8caba
parentd433b3f3e899b411ee3a9c07f07c45f84a2f450e
net: ipv6: remove unused code in ipv6_find_hdr()

Storing the left length of skb into 'len' actually has no effect
so we can remove it.

Signed-off-by: Lin Zhang <xiaolou4617@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/exthdrs_core.c