diff options
| author | Jiri Slaby <[email protected]> | 2021-05-05 09:19:18 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-05-13 16:29:11 +0000 |
| commit | fa7501e57e9bf869cb6718a2699f05fc2807cbf1 (patch) | |
| tree | 40c54de40b1c5518536b80b11d21f2a776170c11 /drivers/usb/class/cdc-acm.c | |
| parent | tty: make tty_buffer_space_avail return uint (diff) | |
| download | kernel-fa7501e57e9bf869cb6718a2699f05fc2807cbf1.tar.gz kernel-fa7501e57e9bf869cb6718a2699f05fc2807cbf1.zip | |
tty: remove tty_operations::chars_in_buffer for non-buffering
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 <[email protected]>
Cc: Richard Henderson <[email protected]>
Acked-by: Max Filippov <[email protected]> # xtensa
Cc: Ivan Kokshaysky <[email protected]>
Cc: Matt Turner <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Cc: Helge Deller <[email protected]>
Cc: Chris Zankel <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Vasily Gorbik <[email protected]>
Cc: Christian Borntraeger <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions
