Char: moxa, remove port->port
commitb4173f45758a5b5185acb302c507289e661d9419
authorJiri Slaby <jirislaby@gmail.com>
Wed, 30 Apr 2008 07:53:40 +0000 (30 00:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:42 +0000 (30 08:29 -0700)
treeb1aa5c97946790af7c39686bc16b394e8e76ebcd
parent5292bcd38e4bcd147905941b5e37b5b0da1a5577
Char: moxa, remove port->port

We don't need to hold a reference to port index.  In most cases we need port
structure anyway and index is available in port->tty->index.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Tested-by: Oyvind Aabling <Oyvind.Aabling@uni-c.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/moxa.c