]> git.baikalelectronics.ru Git - kernel.git/commit
tty: buffers: Move hidden buffer index advance into outer loop
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 13 Jul 2015 00:50:50 +0000 (20:50 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jul 2015 01:23:56 +0000 (18:23 -0700)
commit74f7283b4305d88095a05eca36c79ec6a773da70
tree0c6e36f1395a5d1507d040e6e454656522a692db
parentb90606cda0e6265b64fe4b9e198de0f34d3dbfc2
tty: buffers: Move hidden buffer index advance into outer loop

The advance of the 'read' buffer index belongs in the outer
flip buffer consume loop, with the other buffer index arithmetic.

No functional change.

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