mxser: remove pointless ioaddr checks
authorJiri Slaby <jslaby@suse.cz>
Fri, 18 Jun 2021 06:15:00 +0000 (08:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jun 2021 11:10:02 +0000 (13:10 +0200)
commit987a4cfee5765c9d7242a81d2f90e1429c83201b
tree24745196863035505d0b0e4716d52966e784386b
parentad1c92ff6ee948584603ef2e004704cfceb899a4
mxser: remove pointless ioaddr checks

struct mxser_port::ioaddr can never be NULL once set in ->probe. Hence
the checks for it are pointless. Remove them.

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