Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: bpf: Optimized variable usage in the btf_parse_elf function
The following changes were made in the btf_parse_elf function: 1. The initialization assignments of err, fd, scn and elf variables are removed, and they do not affect function security after analysis. 2. Remove unnecessary assignments to err variable (-error). Signed-off-by: Li kunyu <kunyu@nfschina.com>
- Loading branch information