[PATCH 0/2] openrisc: mm/init.c: fix compilation warnings

From: Mike Rapoport
Date: Sun May 09 2021 - 05:11:16 EST


From: Mike Rapoport <rppt@xxxxxxxxxxxxx>

Hi,

Kbuld test bot reported an unused in map_ram() and while on it I've found
another compilation warning about unused variable in paging_init().

Here are the fixes for both.
The patches are vs 5.12.

Mike Rapoport (2):
openrisc: mm/init.c: remove unused memblock_region variable in map_ram()
openrisc: mm/init.c: remove unused variable 'end' in paging_init()

arch/openrisc/mm/init.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)


base-commit: 9f4ad9e425a1d3b6a34617b8ea226d56a119a717
--
2.28.0