diff options
author | 2023-11-21 10:22:54 +0100 | |
---|---|---|
committer | 2023-11-25 07:23:18 +0000 | |
commit | ab58841ab9fca536e5579312d7b46cbc4822e29c (patch) | |
tree | c512e218b4120fb5b7a58763d2cad54373d05ac3 /include | |
parent | tty: nozomi: remove unused debugging DUMP() (diff) | |
download | linux-rng-ab58841ab9fca536e5579312d7b46cbc4822e29c.tar.xz linux-rng-ab58841ab9fca536e5579312d7b46cbc4822e29c.zip |
tty: srmcons: use 'buf' directly in srmcons_do_write()
There is no need to have a separate iterator ('cur') through 'buf' in
srmcons_do_write(). 'buf' can be used directly which simplifies the code
a bit.
Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Cc: Richard Henderson <richard.henderson@linaro.org>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Matt Turner <mattst88@gmail.com>
Cc: linux-alpha@vger.kernel.org
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Link: https://lore.kernel.org/r/20231121092258.9334-14-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions