Commit 0f0380b6 authored by Peter Hurley's avatar Peter Hurley Committed by Greg Kroah-Hartman

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: default avatarPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent af224ca2
...@@ -230,9 +230,6 @@ static void tty_del_file(struct file *file) ...@@ -230,9 +230,6 @@ static void tty_del_file(struct file *file)
tty_free_file(file); tty_free_file(file);
} }
#define TTY_NUMBER(tty) ((tty)->index + (tty)->driver->name_base)
/** /**
* tty_name - return tty naming * tty_name - return tty naming
* @tty: tty structure * @tty: tty structure
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment