diff options
author | 2021-02-24 12:06:24 -0800 | |
---|---|---|
committer | 2021-02-24 13:38:31 -0800 | |
commit | 9699ee7b2984c612ec3b45c1f7b963daebec3d6c (patch) | |
tree | 4be927933738928dae7af077a61cf0742eabf064 /include/linux/highmem-internal.h | |
parent | mm: simplify parameter of setup_usemap() (diff) | |
download | wireguard-linux-9699ee7b2984c612ec3b45c1f7b963daebec3d6c.tar.xz wireguard-linux-9699ee7b2984c612ec3b45c1f7b963daebec3d6c.zip |
mm: remove unneeded local variable in free_area_init_core
Local variable 'zone_start_pfn' is not needed since there's only one call
site in free_area_init_core(). Let's remove it and pass
zone->zone_start_pfn directly to init_currently_empty_zone().
Link: https://lkml.kernel.org/r/20210122135956.5946-6-bhe@redhat.com
Signed-off-by: Baoquan He <bhe@redhat.com>
Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/highmem-internal.h')
0 files changed, 0 insertions, 0 deletions