Re: [PATCH] xen/balloon: fix unused-variable warning

2021-11-09 Thread Boris Ostrovsky
On 11/8/21 6:14 AM, Arnd Bergmann wrote: From: Arnd Bergmann In configurations with CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=n and CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y, gcc warns about an unused variable: drivers/xen/balloon.c:83:12: error: 'xen_hotplug_unpopulated' defined but not used [-Werror=un

Re: [PATCH] xen/balloon: fix unused-variable warning

2021-11-08 Thread Juergen Gross
On 08.11.21 12:14, Arnd Bergmann wrote: From: Arnd Bergmann In configurations with CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=n and CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y, gcc warns about an unused variable: drivers/xen/balloon.c:83:12: error: 'xen_hotplug_unpopulated' defined but not used [-Werror=unuse

[PATCH] xen/balloon: fix unused-variable warning

2021-11-08 Thread Arnd Bergmann
From: Arnd Bergmann In configurations with CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=n and CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y, gcc warns about an unused variable: drivers/xen/balloon.c:83:12: error: 'xen_hotplug_unpopulated' defined but not used [-Werror=unused-variable] Since this is always zero whe