-
Notifications
You must be signed in to change notification settings - Fork 145
libbpf: optimize the redundant code in the bpf_object__init_user_btf_maps() function. #10086
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Upstream branch: e758657 |
ecdeefe to
10ce4bd
Compare
|
Upstream branch: ff88079 |
160262d to
8ee6c70
Compare
10ce4bd to
e5828a2
Compare
|
Upstream branch: f9db3a3 |
8ee6c70 to
07b47ed
Compare
e5828a2 to
13927c8
Compare
|
Upstream branch: 8842732 |
07b47ed to
d539c3d
Compare
13927c8 to
9b73883
Compare
|
Upstream branch: 23f852d |
d539c3d to
1040817
Compare
|
Upstream branch: 23f852d |
…maps() function. In the elf_sec_data() function, the input parameter 'scn' will be evaluated. If it is NULL, then it will directly return NULL. Therefore, the return value of the elf_sec_data() function already takes into account the case where the input parameter scn is NULL. Therefore, subsequently, the code only needs to check whether the return value of the elf_sec_data() function is NULL. Signed-off-by: Jianyun Gao <[email protected]> Acked-by: Yonghong Song <[email protected]>
1040817 to
985675d
Compare
9b73883 to
3cfe497
Compare
|
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=1015363 irrelevant now. Closing PR. |
Pull request for series with
subject: libbpf: optimize the redundant code in the bpf_object__init_user_btf_maps() function.
version: 2
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1015363