summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTommi Rantala <tommi.t.rantala@nokia.com>2020-10-08 14:26:28 +0200
committerShuah Khan <skhan@linuxfoundation.org>2020-10-28 00:04:01 +0100
commit7b9621d4593199aa0268e56081fe730b71c053e6 (patch)
tree17ff7f4d281b24528a608abb64e98bc3d9962ee1 /tools
parentselftests: pidfd: add CONFIG_CHECKPOINT_RESTORE=y to config (diff)
downloadlinux-7b9621d4593199aa0268e56081fe730b71c053e6.tar.xz
linux-7b9621d4593199aa0268e56081fe730b71c053e6.zip
selftests: pidfd: drop needless linux/kcmp.h inclusion in pidfd_setns_test.c
kcmp is not used in pidfd_setns_test.c, so do not include <linux/kcmp.h> Signed-off-by: Tommi Rantala <tommi.t.rantala@nokia.com> Acked-by: Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/pidfd/pidfd_setns_test.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/pidfd/pidfd_setns_test.c b/tools/testing/selftests/pidfd/pidfd_setns_test.c
index 1f085b922c6e..6e2f2cd400ca 100644
--- a/tools/testing/selftests/pidfd/pidfd_setns_test.c
+++ b/tools/testing/selftests/pidfd/pidfd_setns_test.c
@@ -16,7 +16,6 @@
#include <unistd.h>
#include <sys/socket.h>
#include <sys/stat.h>
-#include <linux/kcmp.h>
#include "pidfd.h"
#include "../clone3/clone3_selftests.h"