From: Timmy Li <scuttimmy@gmail.com>
To: ebiederm@xmission.com, akpm@linux-foundation.org,
mhocko@suse.com, willy@infradead.org, oleg@redhat.com,
rppt@linux.vnet.ibm.com, ktsanaktsidis@zendesk.com,
linux-kernel@vger.kernel.org
Subject: [PATCH] pid: Remove unneeded hash header file
Date: Mon, 29 Apr 2019 22:33:19 -0700 [thread overview]
Message-ID: <20190430053319.95913-1-scuttimmy@gmail.com> (raw)
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
next reply other threads:[~2019-04-30 5:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-30 5:33 Timmy Li [this message]
2019-05-11 22:55 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190430053319.95913-1-scuttimmy@gmail.com \
--to=scuttimmy@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=ebiederm@xmission.com \
--cc=ktsanaktsidis@zendesk.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mhocko@suse.com \
--cc=oleg@redhat.com \
--cc=rppt@linux.vnet.ibm.com \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®