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: NJiri Slaby <jirislaby@gmail.com> Tested-by: NOyvind Aabling <Oyvind.Aabling@uni-c.dk> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
Showing
此差异已折叠。
想要评论请 注册 或 登录