[PATCH] exit: don't include unused userfaultfd_k.h

From: Mike Rapoport
Date: Tue May 16 2017 - 06:35:22 EST


Commit dd0db88d8094 (userfaultfd: non-cooperative: rollback
userfaultfd_exit) removed userfaultfd callback from exit() which makes
include of <linux/userfaultfd_k.h> unnecessary.

Signed-off-by: Mike Rapoport <rppt@xxxxxxxxxxxxxxxxxx>
---
kernel/exit.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/kernel/exit.c b/kernel/exit.c
index 516acdb..5b1dc84 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -51,7 +51,6 @@
#include <linux/task_io_accounting_ops.h>
#include <linux/tracehook.h>
#include <linux/fs_struct.h>
-#include <linux/userfaultfd_k.h>
#include <linux/init_task.h>
#include <linux/perf_event.h>
#include <trace/events/sched.h>
--
2.7.4