diff options
author | Jiri Slaby (SUSE) <[email protected]> | 2023-11-21 10:22:54 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-11-25 07:23:18 +0000 |
commit | ab58841ab9fca536e5579312d7b46cbc4822e29c (patch) | |
tree | c512e218b4120fb5b7a58763d2cad54373d05ac3 /scripts/gdb/linux/tasks.py | |
parent | 2bf93a48ccaace03e29b87cc92e369cade23d15a (diff) |
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)" <[email protected]>
Cc: Richard Henderson <[email protected]>
Cc: Ivan Kokshaysky <[email protected]>
Cc: Matt Turner <[email protected]>
Cc: [email protected]
Reviewed-by: Richard Henderson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions