diff options
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2023-08-10 11:15:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-08-11 21:12:46 +0200 |
commit | 48a6ab8867eff61fa11d9e8f8e1c7327b135e689 (patch) | |
tree | 23faf6613ccbcc8ece5dc40c9dab9686035158a4 /drivers/usb/class | |
parent | tty: switch size and count types in iterate_tty_read() to size_t (diff) | |
download | linux-48a6ab8867eff61fa11d9e8f8e1c7327b135e689.tar.xz linux-48a6ab8867eff61fa11d9e8f8e1c7327b135e689.zip |
tty: use min() for size computation in iterate_tty_read()
The computation is more obvious with min().
Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230810091510.13006-27-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/class')
0 files changed, 0 insertions, 0 deletions