printk: Remove no longer used second struct cont
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 15 Dec 2016 12:53:58 +0000 (13:53 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 15 Dec 2016 18:52:37 +0000 (10:52 -0800)
commit8fa9a697ab083af0f4a2807869752685ed8a7a6a
treeeb33dad340e10111c901242fa8b04965319ff674
parent5cc60aeedf315a7513f92e98314e86d515b986d1
printk: Remove no longer used second struct cont

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: 5c2992ee7fd8 ("printk: remove console flushing special cases for partial buffered lines")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Petr Mladek <pmladek@suse.com>
[ I do the occasional "allnoconfig" builds, but apparently not often
  enough  - Linus ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/printk/printk.c