tty: remove empty tty_operations::flush_buffer
authorJiri Slaby <jslaby@suse.cz>
Wed, 5 May 2021 09:19:23 +0000 (11:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 May 2021 16:29:11 +0000 (18:29 +0200)
commit4fb266e1976ed664252d172c4889c639abd53930
tree5c08eb7590b3d0c91821bb7b1f093be81d200330
parent3d18354248b14a5ffefaa31a43fd0d45a283e97d
tty: remove empty tty_operations::flush_buffer

tty_operations::flush_buffer is optional. If it doesn't exist, nothing
is called. So remove almost¹ empty flush_buffer implementations.

¹ capi had an useless pr_debug in it.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Karsten Keil <isdn@linux-pingi.de>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Link: https://lore.kernel.org/r/20210505091928.22010-31-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/isdn/capi/capi.c
drivers/s390/char/tty3270.c