diff options
author | Jiri Slaby (SUSE) | 2023-08-10 11:15:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-08-11 21:12:46 +0200 |
commit | 48a6ab8867eff61fa11d9e8f8e1c7327b135e689 (patch) | |
tree | 23faf6613ccbcc8ece5dc40c9dab9686035158a4 /drivers/s390 | |
parent | e3afc5b0d708e2ef389b9c7acd45d1e4fd2cb304 (diff) |
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/s390')
0 files changed, 0 insertions, 0 deletions