Thread (2 messages) 2 messages, 2 authors, 2017-10-23

Re: [PATCH] esp6: remove redundant initialization of esph

From: Steffen Klassert <steffen.klassert@secunet.com>
Date: 2017-10-23 11:21:12
Also in: lkml, netdev

On Thu, Oct 19, 2017 at 03:09:47PM +0200, Colin King wrote:
From: Colin Ian King <redacted>

The pointer esph is being initialized with a value that is never
read and then being updated.  Remove the redundant initialization
and move the declaration and initializtion of esph to the local
code block.

Cleans up clang warning:
net/ipv6/esp6.c:562:21: warning: Value stored to 'esph' during its
initialization is never read

Signed-off-by: Colin Ian King <redacted>
Applied to ipsec-next, thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help