serial: pch: inline pop_tx() into handle_tx()
authorJiri Slaby <jslaby@suse.cz>
Tue, 3 May 2022 08:08:08 +0000 (10:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 May 2022 20:42:47 +0000 (22:42 +0200)
commit240754894c30e3b13ca91113f177dd7f315eb297
tree82fca93efbbc82e6a5f3844d7de483f2453f0b4f
parent80219e59ff503f2ba7d87b9fda40c69e5ff71546
serial: pch: inline pop_tx() into handle_tx()

Given pop_tx() is a simple loop, inline it directly into handle_tx().

The code in handle_tx() looks much saner and straightforward now.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220503080808.28332-6-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pch_uart.c