mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* + pid-kill-pidhash_size-in-pidhash_init.patch added to -mm tree
@ 2017-07-18 22:09 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2017-07-18 22:09 UTC (permalink / raw)
  To: wangkefeng.wang, Pasha.Tatashin, mm-commits


The patch titled
     Subject: pid: kill pidhash_size in pidhash_init()
has been added to the -mm tree.  Its filename is
     pid-kill-pidhash_size-in-pidhash_init.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/pid-kill-pidhash_size-in-pidhash_init.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/pid-kill-pidhash_size-in-pidhash_init.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Kefeng Wang <wangkefeng.wang@huawei.com>
Subject: pid: kill pidhash_size in pidhash_init()

After 3d375d78593c ("mm: update callers to use HASH_ZERO flag"), drop
unused pidhash_size in pidhash_init().

Link: http://lkml.kernel.org/r/1500389267-49222-1-git-send-email-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Pavel Tatashin <Pasha.Tatashin@Oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 kernel/pid.c |    3 ---
 1 file changed, 3 deletions(-)

diff -puN kernel/pid.c~pid-kill-pidhash_size-in-pidhash_init kernel/pid.c
--- a/kernel/pid.c~pid-kill-pidhash_size-in-pidhash_init
+++ a/kernel/pid.c
@@ -575,13 +575,10 @@ struct pid *find_ge_pid(int nr, struct p
  */
 void __init pidhash_init(void)
 {
-	unsigned int pidhash_size;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-07-18 22:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-18 22:09 + pid-kill-pidhash_size-in-pidhash_init.patch added to -mm tree akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).