Skip to contentSkip to conversation

pid: Remove unneeded hash header file

PATCH In review Timmy Li 2 participants 2 messages Apr 30, 2019 – May 11, 2019

lore
Share & tools
lore

Timmy Li

author
#0 lore raw

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.

---
 kernel/pid.c | 1 -
 1 file changed, 1 deletion(-)
kernel/pid.c +0 -1
index 20881598bdfa..89548d35eefb 100644
@@ -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
#1 lore raw
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...