aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/class/cdc-acm.c
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2021-05-05 11:19:18 +0200
committerGreg Kroah-Hartman <[email protected]>2021-05-13 18:29:11 +0200
commitfa7501e57e9bf869cb6718a2699f05fc2807cbf1 (patch)
tree40c54de40b1c5518536b80b11d21f2a776170c11 /drivers/usb/class/cdc-acm.c
parent9a33fbf9d23034d7e89849c587b0aed0e4cf794d (diff)
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