diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-10-18 22:26:27 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-23 01:50:12 +0200 |
commit | 8fcbaa2b7f5b70dba9ed1c7f91d0a270ce752e2c (patch) | |
tree | 9f85c118012c263aaab73ae1d76fb1df1072b171 /mm/process_vm_access.c | |
parent | tty: prevent unnecessary work queue lock checking on flip buffer copy (diff) | |
download | linux-8fcbaa2b7f5b70dba9ed1c7f91d0a270ce752e2c.tar.xz linux-8fcbaa2b7f5b70dba9ed1c7f91d0a270ce752e2c.zip |
TTY: devpts, don't care about TTY in devpts_get_tty
The goal is to stop setting and using tty->driver_data in devpts code.
It should be used solely by the driver's code, pty in this case.
First, here we remove TTY from devpts_get_tty and rename it to
devpts_get_priv. Note we do not remove type safety, we just shift the
[implicit] (void *) cast one layer up.
index was unused in devpts_get_tty, so remove that from the prototype
too.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/process_vm_access.c')
0 files changed, 0 insertions, 0 deletions