]> git.baikalelectronics.ru Git - kernel.git/commit
net/ipv6: remove unused err variable on icmpv6_push_pending_frames
authorTim Hansen <devtimhansen@gmail.com>
Thu, 5 Oct 2017 19:45:32 +0000 (15:45 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Oct 2017 04:56:26 +0000 (21:56 -0700)
commitad4995ce9e687bf26759dd4d1423b963aa885eeb
tree1260878b87c3e32f4a6f375f25f130604e5c0178
parent431942bacf5a5a60aadd36fe7cac262d0f101c38
net/ipv6: remove unused err variable on icmpv6_push_pending_frames

int err is unused by icmpv6_push_pending_frames(), this patch returns removes the variable and returns the function with 0.

git bisect shows this variable has been around since linux has been in git in commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2.

This was found by running make coccicheck M=net/ipv6/ on linus' tree on commit aa03518edbead62abdc90f1961851bf243b4c57c (current HEAD as of this patch).

Signed-off-by: Tim Hansen <devtimhansen@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/icmp.c