summaryrefslogtreecommitdiff
path: root/include/uapi/asm-generic
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2022-05-03 11:08:07 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-05 23:42:47 +0300
commit80219e59ff503f2ba7d87b9fda40c69e5ff71546 (patch)
tree99322ece81b830f625e5fd04e1688ed30d3e0386 /include/uapi/asm-generic
parent862526523e71a96e11ae48e081c424fdb1b50011 (diff)
downloadlinux-80219e59ff503f2ba7d87b9fda40c69e5ff71546.tar.xz
serial: pch: simplify pop_tx() even more
1) take uart_tx_stopped into account every loop (the same as other uart drivers) 2) no need for 'count' variable, operate on 'size' directly This allows inlining this into handle_tx() nicely in the next patch. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20220503080808.28332-5-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/asm-generic')
0 files changed, 0 insertions, 0 deletions