diff options
author | Jiri Slaby <jslaby@suse.cz> | 2021-06-18 08:15:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-18 13:10:03 +0200 |
commit | 5d1ea1ad288fc9e76acb5ec8af1bc16bb799c14f (patch) | |
tree | b5748e7e19bfa5a643cfc2433d236f3fd06471b1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 06cc52ef8284fa8c95552e6ad0da93d89774eb7f (diff) |
mxser: introduce mxser_16550A_or_MUST helper
This check is used in the code on many places. Either in positive or
negative form. So introduce a helper called mxser_16550A_or_MUST for
this purpose. And replace all the occurrences.
This simplifies many ifs in there.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210618061516.662-67-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions