summaryrefslogtreecommitdiffstats
path: root/scripts/nsdeps
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-07-10 15:59:47 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-21 20:59:38 +0200
commit707631ce639651e51bfed9e56326cde86f9e97b8 (patch)
treeea2c9e7228acbd5293231ac6e30a2e8340d29cf7 /scripts/nsdeps
parentb374c562ee7ab3f3a1daf959c01868bae761571c (diff)
downloadlinux-stable-707631ce639651e51bfed9e56326cde86f9e97b8.tar.gz
linux-stable-707631ce639651e51bfed9e56326cde86f9e97b8.tar.bz2
linux-stable-707631ce639651e51bfed9e56326cde86f9e97b8.zip
serial: tegra: drop bogus NULL tty-port checks
The struct tty_port is part of the uart state and will never be NULL in the receive helpers. Drop the bogus NULL checks and rename the pointer-variables "port" to differentiate them from struct tty_struct pointers (which can be NULL). Fixes: 962963e4ee23 ("serial: tegra: Switch to using struct tty_port") Signed-off-by: Johan Hovold <johan@kernel.org> Acked-by: Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/20200710135947.2737-3-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/nsdeps')
0 files changed, 0 insertions, 0 deletions