bpf: bpf_struct_ops: Remove unnecessary initial values of variables
authorLi kunyu <kunyu@nfschina.com>
Fri, 4 Aug 2023 17:59:29 +0000 (01:59 +0800)
committerMartin KaFai Lau <martin.lau@kernel.org>
Fri, 4 Aug 2023 00:54:35 +0000 (17:54 -0700)
commit5964d1e4594eb1dbfc1e2a34ec89eb48f6b03e75
treeb5feff9094d407d803534c507f36f8913d7a69d9
parent6f9bad6b2d7d6b4e11032b944e379974e31c5c8f
bpf: bpf_struct_ops: Remove unnecessary initial values of variables

err and tlinks is assigned first, so it does not need to initialize the
assignment.

Signed-off-by: Li kunyu <kunyu@nfschina.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20230804175929.2867-1-kunyu@nfschina.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
kernel/bpf/bpf_struct_ops.c