Hash functions are not needed since idr is used now.
Let's remove hash header file for cleanup.
Signed-off-by: Timmy Li <[email protected]>
---
kernel/pid.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/pid.c b/kernel/pid.c
index 20881598bdfa..89548d35eefb 100644
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -32,7 +32,6 @@
#include <linux/init.h>
#include <linux/rculist.h>
#include <linux/memblock.h>
-#include <linux/hash.h>
#include <linux/pid_namespace.h>
#include <linux/init_task.h>
#include <linux/syscalls.h>
--
2.17.1
On Mon, 29 Apr 2019 22:33:19 -0700 Timmy Li <[email protected]> wrote:
> Hash functions are not needed since idr is used now.
> Let's remove hash header file for cleanup.
>
OK.
And the nice block comment at the start of kernel/pid.c is rather out
of date...