aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2020-06-15 09:48:52 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-24 17:08:33 +0200
commit6923e2d793213283d808e60c390fe0b5e9090c7e (patch)
treefaaf57d00f28720338b2979be162bc6cc7cd7ef3 /tools/perf/scripts/python
parentvc: move normal char processing from do_con_write (diff)
downloadlinux-6923e2d793213283d808e60c390fe0b5e9090c7e.tar.gz
linux-6923e2d793213283d808e60c390fe0b5e9090c7e.zip
vc: simplify condition in vc_con_write_normal
Convert (!(A && !B) || C) into (!A || B || C) to improve readability. No functional changes, as was just proven by objdump. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20200615074910.19267-20-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions