diff options
author | Jiri Slaby <jslaby@suse.cz> | 2021-05-05 12:19:01 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-13 17:57:16 +0300 |
commit | 3a7d530a0cf9b82fce3596627259a67c511ec917 (patch) | |
tree | b89237e8b598d1e74db26ba0b90152bb41700804 /drivers/sbus | |
parent | 16765365a062f6d25d087cdd0fca3e01c9a03403 (diff) | |
download | linux-3a7d530a0cf9b82fce3596627259a67c511ec917.tar.xz |
n_tty: do only one cp dereference in n_tty_receive_buf_standard
It might be confusing for readers: there are three distinct dereferences
and increments of 'cp' in n_tty_receive_buf_standard. Do it on a single
place, along with/before the 'fp' dereference.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210505091928.22010-9-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions