summaryrefslogtreecommitdiffstats
path: root/include/linux/debugobjects.h
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 /include/linux/debugobjects.h
parentbf1434c1b72451c4e02cdbf6984fdafcec194762 (diff)
downloadcachepc-linux-ee7e5e66f2d4fa3cc05382d6f739c644a666010c.tar.gz
cachepc-linux-ee7e5e66f2d4fa3cc05382d6f739c644a666010c.zip
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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions