summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2021-09-22 09:59:36 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-05 14:08:09 +0200
commitee7e5e66f2d4fa3cc05382d6f739c644a666010c (patch)
tree3ccdb3f48ee62b9a5e1de764e7eea38fda970741 /tools/perf/scripts/python
parentbf1434c1b72451c4e02cdbf6984fdafcec194762 (diff)
mxser: move FIFO clearing to mxser_disable_and_clear_FIFO()
This code is used on two places, make a helper for disabling and clearing FIFOs. And demangle the too complicated 'if' by using a local variable. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20210922075938.31390-5-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