Re: [PATCH] x86: mm: remove unused variable

From: Thomas Gleixner
Date: Mon Dec 10 2018 - 16:28:47 EST

On Mon, 10 Dec 2018, Arnd Bergmann wrote:

> A recent change dropped the only user of the variable, which should
> now be removed as well to avoid this warning:
> arch/x86/mm/init_32.c: In function 'arch_remove_memory':
> arch/x86/mm/init_32.c:867:15: error: unused variable 'zone' [-Werror=unused-variable]
> Fixes: dd99d07f818b ("mm, memory_hotplug: move zone/pages handling to offline stage")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Acked-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>