diff options
| author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2023-01-12 09:01:33 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-19 15:06:42 +0100 |
| commit | 287696d5b4112bb7d78bdeda713cc44f93f30765 (patch) | |
| tree | 8c4567bb9d36622aabff2f2d6c8aea443e3b2fa3 /tools/perf/scripts/python | |
| parent | tty: vt: replace BUG_ON() by WARN_ON_ONCE() (diff) | |
| download | linux-287696d5b4112bb7d78bdeda713cc44f93f30765.tar.gz linux-287696d5b4112bb7d78bdeda713cc44f93f30765.zip | |
tty: vt: simplify some unicode conditions
After previous patches, we can simply test vc->vc_uni_lines, so do so in
many unicode functions. This makes the code more compact. And even use
if (!)
return;
in vc_uniscr_scroll(), so that the whole code is indented on the left.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230112080136.4929-8-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
