summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2024-12-13 00:03:48 +0100
committerChristian Brauner <brauner@kernel.org>2025-01-09 16:58:53 +0100
commitd3238e8944e2bd1d6a006d35850e86fa80469751 (patch)
tree8f10d19bea30c69977759b05ce75cd0dbc086e5b
parent9d87b1067382be1ede395c9246ff1ee0519f0c64 (diff)
selftests: remove unneeded include
The pidfd header will be included in a sample program and this pulls in all the mount definitions that would be causing problems. Link: https://lore.kernel.org/r/20241213-work-mount-rbtree-lockless-v3-9-6e3cdaf9b280@kernel.org Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Christian Brauner <brauner@kernel.org>
-rw-r--r--tools/testing/selftests/pidfd/pidfd.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/pidfd/pidfd.h b/tools/testing/selftests/pidfd/pidfd.h
index 88d6830ee004..3a96053e52e7 100644
--- a/tools/testing/selftests/pidfd/pidfd.h
+++ b/tools/testing/selftests/pidfd/pidfd.h
@@ -12,7 +12,6 @@
#include <stdlib.h>
#include <string.h>
#include <syscall.h>
-#include <sys/mount.h>
#include <sys/types.h>
#include <sys/wait.h>