summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorluo penghao <cgel.zte@gmail.com>2021-10-28 05:36:39 +0300
committerSteffen Klassert <steffen.klassert@secunet.com>2021-10-28 08:56:02 +0300
commitad57dae8a64da3926a22debbbe7d3b487a685a08 (patch)
tree2c70af1e42beb75aed4d5a2d333b2aca3e25fbb7 /tools
parent83688aec17bf3203d8477a9dd7cce88132950798 (diff)
downloadlinux-ad57dae8a64da3926a22debbbe7d3b487a685a08.tar.xz
xfrm: Remove redundant fields and related parentheses
The variable err is not necessary in such places. It should be revmoved for the simplicity of the code. This will cause the double parentheses to be redundant, and the inner parentheses should be deleted. The clang_analyzer complains as follows: net/xfrm/xfrm_input.c:533: warning: net/xfrm/xfrm_input.c:563: warning: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err'. Changes in v2: Modify the title, because v2 removes the brackets. Remove extra parentheses. Reported-by: Zeal Robot <zealci@zte.com.cn> Signed-off-by: luo penghao <luo.penghao@zte.com.cn> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions