diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2018-05-14 18:53:04 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-25 19:01:16 +0300 |
commit | 4b4ecd9cb853c14913a3726cfcc60ccda1d2924a (patch) | |
tree | 21001a5011cdf3b6a1f066b290a22d1989708116 /drivers/hid/wacom_sys.c | |
parent | 339c7a875732a34b1ebd7f14e2357c28858cd2d0 (diff) | |
download | linux-4b4ecd9cb853c14913a3726cfcc60ccda1d2924a.tar.xz |
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>
Diffstat (limited to 'drivers/hid/wacom_sys.c')
0 files changed, 0 insertions, 0 deletions