diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2016-04-10 03:36:38 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-30 16:26:55 (GMT) |
commit | 0f0380b6177ab628b9e7c5a566dcdb3889e38dcb (patch) | |
tree | 7ebc4f975d88f85417d571f01c70225e97a21508 | |
parent | af224ca2df297440448b9d407d21b50982c6d532 (diff) | |
download | linux-0f0380b6177ab628b9e7c5a566dcdb3889e38dcb.tar.xz |
tty: Remove unused TTY_NUMBER() macro
TTY_NUMBER() has been unused since v2.5.71; removed by
"[PATCH] callout removal: callout is gone".
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/tty/tty_io.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index 320dc4d..3cdd63b 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c @@ -230,9 +230,6 @@ static void tty_del_file(struct file *file) tty_free_file(file); } - -#define TTY_NUMBER(tty) ((tty)->index + (tty)->driver->name_base) - /** * tty_name - return tty naming * @tty: tty structure |