]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250: kill __do_stop_tx()
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 7 Jun 2022 08:41:53 +0000 (11:41 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jun 2022 11:44:47 +0000 (13:44 +0200)
commit3f087e8362d0b35f1f8638e9ed3a82d18a60a47f
treee1852baaa5fd670312d33de71b21629053cd82ab
parent106b04b0c15a25640129fb4e865e306ea2ef038e
serial: 8250: kill __do_stop_tx()

There seems to be little reason for __do_stop_tx() to exits on its own.
It is rather simple and is only called from __stop_tx(). Thus, move its
logic into __stop_tx().

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220607084154.8172-1-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_port.c