Skip to content
Commit 2e180920 authored by luo penghao's avatar luo penghao Committed by Steffen Klassert
Browse files

xfrm: Remove duplicate assignment



The statement in the switch is repeated with the statement at the
beginning of the while loop, so this statement is meaningless.

The clang_analyzer complains as follows:

net/xfrm/xfrm_policy.c:3392:2 warning:

Value stored to 'exthdr' is never read

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarluo penghao <luo.penghao@zte.com.cn>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent c6e78718
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment