diff options
author | Jiri Slaby (SUSE) <[email protected]> | 2023-08-27 09:41:47 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-08-27 11:46:52 +0200 |
commit | a84853c5954fe2c1b97db2f005ae156dc29ae233 (patch) | |
tree | c47a076af76b9dab7054b1c0da530d2b8509b090 /arch/powerpc/sysdev/mpic_timer.c | |
parent | 2aa91851ffa7cdfc0a63330d273115d38324b585 (diff) |
tty: n_tty: deduplicate copy code in n_tty_receive_buf_real_raw()
The code is duplicated to perform the copy twice -- to handle buffer
wrap-around. Instead of the duplication, roll this into the loop.
(And add some blank lines around to have the code a bit more readable.)
Signed-off-by: "Jiri Slaby (SUSE)" <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'arch/powerpc/sysdev/mpic_timer.c')
0 files changed, 0 insertions, 0 deletions