Re: [PATCH 25/35] tty: remove tty_operations::chars_in_buffer for non-buffering
From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-05-06 05:56:37
Also in:
lkml
From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-05-06 05:56:37
Also in:
lkml
On Thu, May 06, 2021 at 07:47:04AM +0200, Jiri Slaby wrote:
On 05. 05. 21, 11:19, Jiri Slaby wrote:quoted
The only user of tty_ops::chars_in_buffer is tty_chars_in_buffer. And it considers tty_ops::chars_in_buffer optional. In case it's NULL, zero is returned. So remove all those chars_in_buffer from tty_ops which return zero. (Zero means such driver doesn't buffer.) Signed-off-by: Jiri Slaby <redacted>quoted
c: Richard Henderson [off-list ref]Uh, "C" is a fugitive. Wanted dead or alive. So should I send a v2 with: Cc: Richard Henderson <redacted> ?
Nah, it should be fine, I can fix it up. thanks, greg k-h