Re: [PATCH] printk: remove unused suppress_message_printing()

From: Sergey Senozhatsky
Date: Tue Jul 10 2018 - 21:58:07 EST


On (07/10/18 17:22), Arnd Bergmann wrote:
> Moving the call to suppress_message_printing() into the '#ifdef CONFIG_PRINTK'
> section means that the alternative definition is now unused when PRINTK is
> disabled:
>
> kernel/printk/printk.c:2033:13: error: 'suppress_message_printing' defined but not used [-Werror=unused-function]
>
> This removes the stub function.
>
> Fixes: 375899cddcbb ("printk: make sure to print log on console.")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Arnd, thanks for the patch. I think we got the same report yesterday
(0-day build bot) and Petr have addressed the warning already.

-ss