mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 11:03:43 +02:00
page_alloc: remove inactive initialization
The allocation address of the table pointer variable is first performed in the function, no initialization assignment is required, and no invalid pointer will appear. Link: https://lkml.kernel.org/r/20220803064118.3664-1-kunyu@nfschina.com Signed-off-by: Li kunyu <kunyu@nfschina.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
d2226ebd54
commit
97bab178e8
|
|
@ -8974,7 +8974,7 @@ void *__init alloc_large_system_hash(const char *tablename,
|
|||
{
|
||||
unsigned long long max = high_limit;
|
||||
unsigned long log2qty, size;
|
||||
void *table = NULL;
|
||||
void *table;
|
||||
gfp_t gfp_flags;
|
||||
bool virt;
|
||||
bool huge;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user