summaryrefslogtreecommitdiffstats
path: root/drivers/tty/mxser.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2019-04-03 09:40:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-16 15:21:34 +0200
commit0d3cb6f6c67aab6284921619c838382fb6e4f5db (patch)
tree50681369128946c6227090a8c4ce82bba5924e3a /drivers/tty/mxser.h
parentba44dc04300441b47618f9933bf36e75a280e5fe (diff)
downloadlinux-0d3cb6f6c67aab6284921619c838382fb6e4f5db.tar.bz2
Revert "tty: fix NULL pointer issue when tty_port ops is not set"
This reverts commit f4e68d58cf2b20a581759bbc7228052534652673. TTY drivers using the tty-port abstraction all provide a pointer to a set of port operations, which specifically cannot be NULL (or we'd find out at first attempt to open a port). Revert the recent commit which added unnecessary NULL-checks and whose commit message indicated that it was fixing a real problem, which it did not. Note that even the two tty drivers for virtual devices currently providing an empty set of operations probably should be implementing at least some of the callbacks. Cc: Fabien Dessenne <fabien.dessenne@st.com> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/mxser.h')
0 files changed, 0 insertions, 0 deletions