[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 29 Dec 2016 12:06:09 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: davej@...emonkey.org.uk
Cc: netdev@...r.kernel.org
Subject: Re: ipv6: remove unnecessary inet6_sk check
From: Dave Jones <davej@...emonkey.org.uk>
Date: Wed, 28 Dec 2016 11:53:18 -0500
> np is already assigned in the variable declaration of ping_v6_sendmsg.
> At this point, we have already dereferenced np several times, so the
> NULL check is also redundant.
>
> Suggested-by: Eric Dumazet <eric.dumazet@...il.com>
> Signed-off-by: Dave Jones <davej@...emonkey.org.uk>
Applied, thanks Dave.
Powered by blists - more mailing lists