summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2023-09-19 11:51:42 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-03 15:31:15 +0300
commit4a2ad26613867a9a6c49abf7b9319e2a5f6671b0 (patch)
treeb6af74881f4620dc96221d13d86f77f3136e77f0 /tools/perf/scripts/python/exported-sql-viewer.py
parentc77247a52be2359fbf13daabb16fb318df41e1c3 (diff)
downloadlinux-4a2ad26613867a9a6c49abf7b9319e2a5f6671b0.tar.xz
tty: n_tty: use 'retval' instead of 'c'
In n_tty_read(), there is a separate int variable 'c' and is used only to hold an int value returned from job_control(). There is also a 'retval' variable typed ssize_t. So drop this single occurrence of 'c' and reuse 'retval' which is used on all other places to hold the value returned from n_tty_read(). Note that 'retval' needs not be initialized now. Drop that. Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20230919085156.1578-2-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions