]> git.karo-electronics.de Git - linux-beck.git/commit
serial: 8250: Refactor serial8250_rx_chars() inner loop
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 10 Jan 2016 22:39:31 +0000 (14:39 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jan 2016 22:07:04 +0000 (14:07 -0800)
commit3f6b3ce071d3a3632c82b53077d21f5beab3a4aa
treee06ae2c4abab7e86b521f5412e2ad6bf9d72a096
parent87108bc9870ae86ca4fcc05115a134af7a0f4e96
serial: 8250: Refactor serial8250_rx_chars() inner loop

Factor the read/process one char inner loop to a separate helper
function serial8250_read_char(). No functional change.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_port.c