[PATCH 1/2] bpf: Don't select USERMODE_DRIVER

linux@treblig.org posted 2 patches 1 week, 2 days ago
[PATCH 1/2] bpf: Don't select USERMODE_DRIVER
Posted by linux@treblig.org 1 week, 2 days ago
From: "Dr. David Alan Gilbert" <linux@treblig.org>

USERMODE_DRIVER isn't neede dby BPF_PRELOAD anymore since
commit cb80ddc67152 ("bpf: Convert bpf_preload.ko to use light skeleton.")

Remove the depend Kconfig.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 kernel/bpf/preload/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/bpf/preload/Kconfig b/kernel/bpf/preload/Kconfig
index c9d45c9d6918..f9b11d01c3b5 100644
--- a/kernel/bpf/preload/Kconfig
+++ b/kernel/bpf/preload/Kconfig
@@ -10,7 +10,6 @@ menuconfig BPF_PRELOAD
 	# The dependency on !COMPILE_TEST prevents it from being enabled
 	# in allmodconfig or allyesconfig configurations
 	depends on !COMPILE_TEST
-	select USERMODE_DRIVER
 	help
 	  This builds kernel module with several embedded BPF programs that are
 	  pinned into BPF FS mount point as human readable files that are
-- 
2.47.0