mm: memblock: remove return value of memblock_free_all()
authorDaeseok Youn <daeseok.youn@gmail.com>
Thu, 14 Jan 2021 07:08:17 +0000 (16:08 +0900)
committerMike Rapoport <rppt@linux.ibm.com>
Thu, 14 Jan 2021 13:29:11 +0000 (15:29 +0200)
commit097d43d8570457c1af9b09fab15412697b177f35
treec2bc0218ccc7c1ab0ed44b2ba18b554cbc731774
parent7c53f6b671f4aba70ff15e1b05148b10d58c2837
mm: memblock: remove return value of memblock_free_all()

No one checks the return value of memblock_free_all().
Make the return value void.

memblock_free_all() is used on mem_init() for each
architecture, and the total count of freed pages will be added
to _totalram_pages variable by calling totalram_pages_add().

so do not need to return total count of freed pages.

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
include/linux/memblock.h
mm/memblock.c