Messages in this thread | | | Date | Thu, 15 Dec 2016 17:23:37 +0100 | From | Petr Mladek <> | Subject | Re: [PATCH] printk: Remove no longer used second struct cont |
| |
On Thu 2016-12-15 13:53:58, Geert Uytterhoeven wrote: > If CONFIG_PRINTK=n: > > kernel/printk/printk.c:1893: warning: ‘cont’ defined but not used > > Note that there are actually two different struct cont definitions and > objects: the first one is used if CONFIG_PRINTK=y, the second one became > unused by removing console_cont_flush(). > > Fixes: 5c2992ee7fd8a29d ("printk: remove console flushing special cases for partial buffered lines")
Great catch. It seems that nobody tried the build without CONFIG_PRINTK at that time.
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Best Regards, Petr
| |