diff options
Diffstat (limited to 'kernel/pid.c')
-rw-r--r-- | kernel/pid.c | 3 |
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) | |||
575 | */ | 575 | */ |
576 | void __init pidhash_init(void) | 576 | void __init pidhash_init(void) |
577 | { | 577 | { |
578 | unsigned int pidhash_size; | ||
579 | |||
580 | pid_hash = alloc_large_system_hash("PID", sizeof(*pid_hash), 0, 18, | 578 | pid_hash = alloc_large_system_hash("PID", sizeof(*pid_hash), 0, 18, |
581 | HASH_EARLY | HASH_SMALL | HASH_ZERO, | 579 | HASH_EARLY | HASH_SMALL | HASH_ZERO, |
582 | &pidhash_shift, NULL, | 580 | &pidhash_shift, NULL, |
583 | 0, 4096); | 581 | 0, 4096); |
584 | pidhash_size = 1U << pidhash_shift; | ||
585 | } | 582 | } |
586 | 583 | ||
587 | void __init pidmap_init(void) | 584 | void __init pidmap_init(void) |