tty: Remove unused TTY_NUMBER() macro
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 10 Apr 2016 03:36:38 +0000 (20:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 16:26:55 +0000 (09:26 -0700)
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>
drivers/tty/tty_io.c

index 320dc4d..3cdd63b 100644 (file)
@@ -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