TTY: ircomm, define local tty_port
authorJiri Slaby <jslaby@suse.cz>
Mon, 4 Jun 2012 11:35:22 +0000 (13:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jun 2012 22:50:24 +0000 (15:50 -0700)
commit38c58032f07be4dee764baa573b233e9a828c119
tree43ed0d519124067ba4406a25448b7083eb8cdd74
parent62f228acb807c370c3b1583bf0f1aa4ab8e19aca
TTY: ircomm, define local tty_port

In some functions we use tty_port heavily. So let us have a local
pointer to that variable instead of having self->port all over the
code.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Samuel Ortiz <samuel@sortiz.org>
Cc: netdev@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/irda/ircomm/ircomm_tty.c