mxser: remove pointless xmit_buf checks
authorJiri Slaby <jslaby@suse.cz>
Thu, 18 Nov 2021 07:31:12 +0000 (08:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Nov 2021 17:33:21 +0000 (18:33 +0100)
commit5c338fbf21ebf2206a4d5abf3bc077c9a9018a79
tree88934e5799087b48b4794f59744d1d368e2fcd0e
parent3b88dbff1c4e7d8a78e11773f19869c598552fcb
mxser: remove pointless xmit_buf checks

xmit_buf is supposed to exist in all these functions. I.e. from
tty_port_operations::activate() to ::shutdown(). So remove these checks.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20211118073125.12283-7-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/mxser.c