pid: Remove unneeded hash header file
PATCH 1/1 pid: Remove unneeded hash header file
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(-)
kernel/pid.c +0 -1
@@ -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>
Signature · 1 line
2.17.1
Quoted 3 lines · 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...