Nicolas Pitre 4b4ecd9cb8 vt: Perform safe console erase only once
Commit f8df13e0a9 ("tty: Clean console safely") added code to clear
both the scrollback buffer and the screen with "\e[3J", then execution
falls through into the code to simply clear the screen. This means
scr_memsetw() and the console driver update callback are called twice
on the whole screen buffer. Let's reorganize the code so the same work
is not performed twice needlessly.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-25 18:01:16 +02:00
..
2017-11-28 15:32:33 +01:00
2017-11-28 15:32:33 +01:00
2017-11-08 13:08:12 +01:00
2018-04-30 05:14:55 -07:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00