Files
linux/drivers
Jiri Slaby (SUSE) ebee41c849 tty: tty_buffer: invert conditions in __tty_buffer_request_room()
We are used to handle "bad" states in the 'if's in the kernel. Refactor
(invert the two conditions in) __tty_buffer_request_room(), so that the
code returns from the fast paths immediately instead of postponing to
the heavy end of the function.

Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230816105530.3335-11-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-22 14:58:16 +02:00
..
2023-08-11 21:12:45 +02:00
2023-08-11 21:12:47 +02:00
2023-06-29 08:09:31 -06:00
2023-08-07 00:01:41 +05:30
2023-08-11 21:12:47 +02:00
2023-06-15 13:42:18 +02:00
2023-07-27 07:53:12 +02:00