diff options
author | Jiri Slaby <[email protected]> | 2009-04-06 17:34:10 +0100 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-04-06 14:36:33 -0700 |
commit | 0326e6d596491db64d787136cbd703bde0ee8d77 (patch) | |
tree | 4eca69db77dbfd32d1b59dc2239f65046c8aa3ae /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 0e0fd7d73ed130583dca16405b029f56bf65109f (diff) |
mxser: remove tty_port_tty_get from mxser_check_modem_status
mxser_check_modem_status is called with tty parameter, so the
reference should be increased by callers already -- for ioctl
syscall it is held whole time gap since open to close, for
interrupt, the reference count is increased in the irq handler.
There is no tty_kref_put in that function, so this also fixes
a refcounting bug.
Signed-off-by: Jiri Slaby <[email protected]>
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions