diff options
author | 2021-06-18 08:15:12 +0200 | |
---|---|---|
committer | 2021-06-18 13:10:03 +0200 | |
commit | 5d1ea1ad288fc9e76acb5ec8af1bc16bb799c14f (patch) | |
tree | b5748e7e19bfa5a643cfc2433d236f3fd06471b1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mxser: rename flags to old_speed in mxser_set_serial_info (diff) | |
download | wireguard-linux-5d1ea1ad288fc9e76acb5ec8af1bc16bb799c14f.tar.xz wireguard-linux-5d1ea1ad288fc9e76acb5ec8af1bc16bb799c14f.zip |
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 '')
0 files changed, 0 insertions, 0 deletions