bpf: Minor clean-up to sleepable_lsm_hooks BTF set
authorMatt Bobrowski <mattbobrowski@google.com>
Thu, 1 Feb 2024 10:43:40 +0000 (10:43 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 1 Feb 2024 17:37:45 +0000 (18:37 +0100)
commit1581e5118e485e82cfb5d04d636a79aaefb6f266
tree977ae9fe3c50e0a68463195acf4b0835c7a15419
parent994ff2f7973982af286608da10c295383650fc28
bpf: Minor clean-up to sleepable_lsm_hooks BTF set

There's already one main CONFIG_SECURITY_NETWORK ifdef block within
the sleepable_lsm_hooks BTF set. Consolidate this duplicated ifdef
block as there's no need for it and all things guarded by it should
remain in one place in this specific context.

Signed-off-by: Matt Bobrowski <mattbobrowski@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/Zbt1smz43GDMbVU3@google.com
kernel/bpf/bpf_lsm.c