bpf: Remove unused field "mod" in struct bpf_trampoline
authorMenglong Dong <dongmenglong.8@bytedance.com>
Sun, 28 Jan 2024 05:54:43 +0000 (13:54 +0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 29 Jan 2024 15:44:53 +0000 (16:44 +0100)
commitefaa47db92451608499ab7edf108bf30141c33db
treed8c2405cd3568bca72a9c7472cc0d1418646d207
parentf149d03f450b4afab11f5e1ebd8fdfaf7eb24a28
bpf: Remove unused field "mod" in struct bpf_trampoline

It seems that the field "mod" in struct bpf_trampoline is not used
anywhere after the commit 31bf1dbccfb0 ("bpf: Fix attaching
fentry/fexit/fmod_ret/lsm to modules"). So we can just remove it now.

Fixes: 31bf1dbccfb0 ("bpf: Fix attaching fentry/fexit/fmod_ret/lsm to modules")
Signed-off-by: Menglong Dong <dongmenglong.8@bytedance.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/bpf/20240128055443.413291-1-dongmenglong.8@bytedance.com
include/linux/bpf.h