perf/bpf: Fix duplicate type check
authorFlorian Lehner <dev@der-flo.net>
Sat, 20 Jan 2024 15:09:20 +0000 (16:09 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 29 Jan 2024 21:40:37 +0000 (22:40 +0100)
commitaecaa3ed48c3ae74c06f5e8ef0746b69c62397f1
tree595fcd3705bd6c5641be5b3c794cbfe53f47e71d
parent646751d523587cfd7ebcf1733298ecd470879eda
perf/bpf: Fix duplicate type check

Remove the duplicate check on type and unify result.

Signed-off-by: Florian Lehner <dev@der-flo.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/bpf/20240120150920.3370-1-dev@der-flo.net
kernel/events/core.c