]> 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)
commit246d5780be56a94716e717acf19db788efd1684f
treeef54b2785411d2e5072b4a4898888a4bf7d8caba
parent661bb1356988f6249709c861972ff1646cbe2514
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