]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
serial: 8250: drop unused frac from serial8250_do_get_divisor()
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Wed, 11 Jun 2025 10:03:12 +0000 (12:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jun 2025 11:42:36 +0000 (13:42 +0200)
commit465fd2fc9494836f0e0df1f07d69ab0047b780cb
tree9e984ab4931baa203ca04ad153eb51c2c0f754fa
parent590559339ff8c39fda8bf6931db73b21ca44e309
serial: 8250: drop unused frac from serial8250_do_get_divisor()

'frac' is not used in the generic implementation of get_divisor. Drop it
from there. (Only some port->get_divisor() compute that and receive it
then to port->set_divisor()).

Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20250611100319.186924-27-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_port.c