Re: [RFC][PATCHv3 1/5] printk: move printk_pending out of per-cpu

From: Sergey Senozhatsky
Date: Thu May 25 2017 - 08:36:36 EST


On (05/25/17 14:11), Petr Mladek wrote:
[..]
> The variable is used only when CONFIG_PRINTK is defined at
> the moment, so this produces a warning about an unused variable.
>

interesting... `printk_pending' is used in console_unlock(), which is
always available.

-ss