After reviewing the code, it was found that these macros are never
referenced in the code. Just remove them.

Signed-off-by: bajing <baj...@cmss.chinamobile.com>
---
 tools/testing/selftests/seccomp/seccomp_bpf.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/tools/testing/selftests/seccomp/seccomp_bpf.c 
b/tools/testing/selftests/seccomp/seccomp_bpf.c
index 61acbd45ffaa..a80bcc5149bf 100644
--- a/tools/testing/selftests/seccomp/seccomp_bpf.c
+++ b/tools/testing/selftests/seccomp/seccomp_bpf.c
@@ -78,18 +78,6 @@
 #define PR_GET_NO_NEW_PRIVS 39
 #endif
 
-#ifndef PR_SECCOMP_EXT
-#define PR_SECCOMP_EXT 43
-#endif
-
-#ifndef SECCOMP_EXT_ACT
-#define SECCOMP_EXT_ACT 1
-#endif
-
-#ifndef SECCOMP_EXT_ACT_TSYNC
-#define SECCOMP_EXT_ACT_TSYNC 1
-#endif
-
 #ifndef SECCOMP_MODE_STRICT
 #define SECCOMP_MODE_STRICT 1
 #endif
-- 
2.33.0




Reply via email to