[GIT PULL] memblock: remove return value of memblock_free_all()

From: Mike Rapoport
Date: Tue Feb 09 2021 - 04:46:51 EST


Hi Linus,

This a small cleanup in memblock for 5.12 merge window.

The following changes since commit 7c53f6b671f4aba70ff15e1b05148b10d58c2837:

Linux 5.11-rc3 (2021-01-10 14:34:50 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/memblock-v5.12-rc1

for you to fetch changes up to 097d43d8570457c1af9b09fab15412697b177f35:

mm: memblock: remove return value of memblock_free_all() (2021-01-14 15:29:11 +0200)

----------------------------------------------------------------
memblock: remove return value of memblock_free_all()

memblock_free_all() returns the total count of freed pages and its callers
used this value to update totalram_pages. This update is now anyway a part
of memblock_free_all() and its callers no longer check the return value, so
make memblock_free_all() void.

----------------------------------------------------------------
Daeseok Youn (1):
mm: memblock: remove return value of memblock_free_all()

include/linux/memblock.h | 2 +-
mm/memblock.c | 6 +-----
2 files changed, 2 insertions(+), 6 deletions(-)

--
Sincerely yours,
Mike.