]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit431942bacf5a5a60aadd36fe7cac262d0f101c38
treeef54b2785411d2e5072b4a4898888a4bf7d8caba
parent555ae86f1e3d6f1265b4edf375032a5a0ccf1093
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