diff options
author | Baoquan He <bhe@redhat.com> | 2021-02-24 23:06:24 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-02-25 00:38:31 +0300 |
commit | 9699ee7b2984c612ec3b45c1f7b963daebec3d6c (patch) | |
tree | 4be927933738928dae7af077a61cf0742eabf064 /drivers/video/fbdev | |
parent | 7010a6eca49fc4a5a50f491342f08ddaa087ff07 (diff) | |
download | linux-9699ee7b2984c612ec3b45c1f7b963daebec3d6c.tar.xz |
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 'drivers/video/fbdev')
0 files changed, 0 insertions, 0 deletions