diff options
| author | Jiri Slaby <jirislaby@kernel.org> | 2023-07-31 10:02:37 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-07-31 17:16:05 +0200 |
| commit | d3352ab0a9701a6d4c88b814815d7320c339f4a8 (patch) | |
| tree | dc52c35542c7411ec186e60b81580ef32d647e42 /tools/perf/scripts/python/task-analyzer.py | |
| parent | Bluetooth: rfcomm: remove casts from tty->driver_data (diff) | |
| download | linux-d3352ab0a9701a6d4c88b814815d7320c339f4a8.tar.gz linux-d3352ab0a9701a6d4c88b814815d7320c339f4a8.zip | |
tty: hvsi: remove an extra variable from hvsi_write()
'source' is the same as 'buf'. Rename the parameter ('buf') to
'source' and drop the local variable.
Likely, the two were introduced to have a different type. But 'char' and
'unsigned char' are the same in the kernel for a long time.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: linuxppc-dev@lists.ozlabs.org
Link: https://lore.kernel.org/r/20230731080244.2698-4-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
