]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tty: n_tty: simplify process_output()
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Mon, 17 Mar 2025 07:00:21 +0000 (08:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Mar 2025 15:00:50 +0000 (08:00 -0700)
commitfdfa49a8c96500ef9e1fe1cd2e68c8fd71d8b53a
treec4e0cee72851d355f47c9c3a0f1684bd8e033589
parentd97aa066678bd1e2951ee93db9690835dfe57ab6
tty: n_tty: simplify process_output()

Using guard(mutex), the function can be written in a much more efficient
way.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20250317070046.24386-7-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c