Skip to content
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

bpf, devmap: Remove unnecessary if check in for loop #7113

Closed

Conversation

kernel-patches-daemon-bpf[bot]
Copy link

Pull request for series with
subject: bpf, devmap: Remove unnecessary if check in for loop
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=856936

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: fbe3e84
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=856936
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: fbe3e84
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=856936
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: f088cab
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=856936
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 46253c4
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=856936
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 3f8fde3
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=856936
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 531876c
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=856936
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 96a27ee
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=856936
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: ce5249b
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=856936
version: 1

The iterator variable dst cannot be NULL and the if check can be
removed.

Remove it and fix the following Coccinelle/coccicheck warning reported
by itnull.cocci:

	ERROR: iterator variable bound on line 762 cannot be NULL

Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com>
@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: ec1249d
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=856936
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=856936 irrelevant now. Closing PR.

@kernel-patches-daemon-bpf kernel-patches-daemon-bpf bot deleted the series/856936=>bpf-next branch June 3, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant