diff options
author | Jiri Slaby (SUSE) <[email protected]> | 2023-11-27 13:37:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-11-28 19:17:06 +0000 |
commit | a3db64c575ca201c9783f100c70b82d52bd78a93 (patch) | |
tree | 57f92aa29c1e2f3f24b8770519302369b0369118 /scripts/gdb/linux/tasks.py | |
parent | ab58841ab9fca536e5579312d7b46cbc4822e29c (diff) |
tty: make tty const in tty_get_baud_rate()
After commit 87888fb9ac0c ("tty: Remove baudrate dead code & make
ktermios params const"), the 'tty' parameter is only read in
tty_get_baud_rate(). Therefore, we can make 'tty' accepted in the
function 'const' for clarity.
The "the terminal bit flags may be updated." part of the
tty_get_baud_rate()'s kernel-doc is dropped as it is no longer true.
Because of the same commit above. And it was misplaced anyway.
Signed-off-by: "Jiri Slaby (SUSE)" <[email protected]>
Cc: Ilpo Järvinen <[email protected]>
Reviewed-by: Ilpo Järvinen <[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