OSDN Git Service

tty: vcc, remove useless tty checks
authorJiri Slaby <jslaby@suse.cz>
Tue, 2 Mar 2021 06:21:58 +0000 (07:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:34:08 +0000 (09:34 +0100)
commit5c58097eeb9a4bc67a81dfcd95e328e59f3f0ae1
tree6a15e7dcb4319389b7ff838a892c8548ed8d8075
parent9af6f74d671ef3e5d3062511f229287e9f844b36
tty: vcc, remove useless tty checks

All these functions are called with a valid tty pointer, no need to
check that.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210302062214.29627-28-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vcc.c