summaryrefslogtreecommitdiff
path: root/kernel/pid.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2017-08-27 16:14:49 +0300
committerWolfram Sang <wsa@the-dreams.de>2017-08-27 16:14:49 +0300
commit8ce0436789b006622fcb6baea0c29b99385612dd (patch)
tree9da56689f451c3644aa044d13e58caf978cd6f2e /kernel/pid.c
parented1094012ae82798de33bad0ba1cc5f19a005e68 (diff)
parentfabf08a0cd63ce39287646ceea10ac34781418f4 (diff)
downloadlinux-8ce0436789b006622fcb6baea0c29b99385612dd.tar.xz
Merge branch 'i2c-mux/for-next' of https://github.com/peda-r/i2c-mux into i2c/for-4.14
Diffstat (limited to 'kernel/pid.c')
-rw-r--r--kernel/pid.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/pid.c b/kernel/pid.c
index 731c4e528f4e..c69c30d827e5 100644
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -575,13 +575,10 @@ struct pid *find_ge_pid(int nr, struct pid_namespace *ns)
*/
void __init pidhash_init(void)
{
- unsigned int pidhash_size;
-
pid_hash = alloc_large_system_hash("PID", sizeof(*pid_hash), 0, 18,
HASH_EARLY | HASH_SMALL | HASH_ZERO,
&pidhash_shift, NULL,
0, 4096);
- pidhash_size = 1U << pidhash_shift;
}
void __init pidmap_init(void)