* [PATCH] pid: Remove unneeded hash header file
@ 2019-04-30 5:33 Timmy Li
2019-05-11 22:55 ` Andrew Morton
0 siblings, 1 reply; 2+ messages in thread
From: Timmy Li @ 2019-04-30 5:33 UTC (permalink / raw)
To: ebiederm, akpm, mhocko, willy, oleg, rppt, ktsanaktsidis, linux-kernel
Hash functions are not needed since idr is used now.
Let's remove hash header file for cleanup.
Signed-off-by: Timmy Li <scuttimmy@gmail.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] pid: Remove unneeded hash header file
2019-04-30 5:33 [PATCH] pid: Remove unneeded hash header file Timmy Li
@ 2019-05-11 22:55 ` Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2019-05-11 22:55 UTC (permalink / raw)
To: Timmy Li; +Cc: ebiederm, mhocko, willy, oleg, rppt, ktsanaktsidis, linux-kernel
On Mon, 29 Apr 2019 22:33:19 -0700 Timmy Li <scuttimmy@gmail.com> 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...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-05-11 22:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-30 5:33 [PATCH] pid: Remove unneeded hash header file Timmy Li
2019-05-11 22:55 ` Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.