aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tty.h
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2013-09-18 20:47:06 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-25 18:08:34 -0700
commit469d6d0631386e6865a30c9ded87a5cc0fdf8e2e (patch)
tree7d63fb0239348d42bbbccaf21d6664caec01e8d7 /include/linux/tty.h
parenttty: Prevent tty_port destruction if tty not released (diff)
downloadlinux-dev-469d6d0631386e6865a30c9ded87a5cc0fdf8e2e.tar.xz
linux-dev-469d6d0631386e6865a30c9ded87a5cc0fdf8e2e.zip
tty: Remove unused drop() method from tty_port interface
Although originally conceived as a hook for port drivers to know when a port reference is dropped, no driver uses this method. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r--include/linux/tty.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h
index 64f864651d86..2f47989d8288 100644
--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -180,7 +180,6 @@ struct tty_port_operations {
IFF the port was initialized. Do not use to free resources. Called
under the port mutex to serialize against activate/shutdowns */
void (*shutdown)(struct tty_port *port);
- void (*drop)(struct tty_port *port);
/* Called under the port mutex from tty_port_open, serialized using
the port mutex */
/* FIXME: long term getting the tty argument *out* of this would be