diff options
author | Sukadev Bhattiprolu <[email protected]> | 2008-10-13 10:43:27 +0100 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-10-13 09:51:43 -0700 |
commit | a6f37daa8b892fd29dd71be0de61460a478cb122 (patch) | |
tree | 158010784c65dc0183b62551058ae0ed0fa2e887 /net/lapb/lapb_in.c | |
parent | 89a52e109e2e2fe8bbd4e316cdb910774519c029 (diff) |
Simplify devpts_pty_kill
When creating a new pty, save the pty's inode in the tty->driver_data.
Use this inode in pty_kill() to identify the devpts instance. Since
we now have the inode for the pty, we can skip get_node() lookup and
remove the unused get_node().
TODO:
- check if the mutex_lock is needed in pty_kill().
Signed-off-by: Sukadev Bhattiprolu <[email protected]>
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions