Re: [PATCH] kernel/watchdog: hide unused function

2017-06-21 Thread Don Zickus
On Tue, Jun 20, 2017 at 10:48:44PM +0200, Arnd Bergmann wrote: > watchdog_update_cpus() is defined unconditionally, but only used when > CONFIG_SYSCTL is defined: > > kernel/watchdog.c:608:12: error: 'watchdog_update_cpus' defined but not used > [-Werror=unused-function] > > This adds another

Re: [PATCH] kernel/watchdog: hide unused function

2017-06-21 Thread Don Zickus
On Tue, Jun 20, 2017 at 10:48:44PM +0200, Arnd Bergmann wrote: > watchdog_update_cpus() is defined unconditionally, but only used when > CONFIG_SYSCTL is defined: > > kernel/watchdog.c:608:12: error: 'watchdog_update_cpus' defined but not used > [-Werror=unused-function] > > This adds another

[PATCH] kernel/watchdog: hide unused function

2017-06-20 Thread Arnd Bergmann
watchdog_update_cpus() is defined unconditionally, but only used when CONFIG_SYSCTL is defined: kernel/watchdog.c:608:12: error: 'watchdog_update_cpus' defined but not used [-Werror=unused-function] This adds another #ifdef around it. Fixes: mmotm ("kernel/watchdog: provide

[PATCH] kernel/watchdog: hide unused function

2017-06-20 Thread Arnd Bergmann
watchdog_update_cpus() is defined unconditionally, but only used when CONFIG_SYSCTL is defined: kernel/watchdog.c:608:12: error: 'watchdog_update_cpus' defined but not used [-Werror=unused-function] This adds another #ifdef around it. Fixes: mmotm ("kernel/watchdog: provide