Re: [PATCH] net/ipv6: remove unused err variable on icmpv6_push_pending_frames

From: David Miller
Date: Fri Oct 06 2017 - 01:18:28 EST

From: Tim Hansen <devtimhansen@xxxxxxxxx>
Date: Thu, 5 Oct 2017 15:45:32 -0400

> 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 77ede3a014a32746002f7889211f0cecf4803163 (current HEAD as of this patch).
> Signed-off-by: Tim Hansen <devtimhansen@xxxxxxxxx>