aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2022-01-24 08:14:26 +0100
committerGreg Kroah-Hartman <[email protected]>2022-01-26 14:54:48 +0100
commit32330c833442d4041dbd20508f6cd2419deb16eb (patch)
treeaba70bbafc0fda9081398863000f4ad4bf4ce3cc /tools/perf/scripts/python/bin
parent92cc9d1d14e3ba8e82c99a4b4c90cce1db3c3fa9 (diff)
mxser: switch from xmit_buf to kfifo
Use kfifo for xmit buffer handling. The change is mostly straightforward. It saves complexity both on the stuffing side (mxser_write() and mxser_put_char()) and pulling side (mxser_transmit_chars()). In fact, the loop in mxser_write() can be completely deleted as the wrap of the buffer is taken care of in the kfifo code now. Signed-off-by: Jiri Slaby <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions