m68k: mm: Remove superfluous memblock_alloc*() casts
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 26 Aug 2020 13:04:44 +0000 (15:04 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 7 Sep 2020 08:56:08 +0000 (10:56 +0200)
commit7e158826564fbbb7284dabbaf71b6c3227845f51
tree229c7cc786dbffa749029cb201049770f534c009
parent41f1bf37a63ecdb06b7b96646579170ddbe9def1
m68k: mm: Remove superfluous memblock_alloc*() casts

The return type of memblock_alloc*() is a void pointer, so there is no
need to cast it to "void *" or some other pointer type, before assigning
it to a pointer variable.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Acked-by: Greg Ungerer <gerg@linux-m68k.org>
Link: https://lore.kernel.org/r/20200826130444.25618-1-geert@linux-m68k.org
arch/m68k/mm/mcfmmu.c
arch/m68k/mm/motorola.c