]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 320dc4da71620f8bf96becf2d095bc62344d8a52..3cdd63b4a055002d33defa47d6ca3fb3bb76ffe2 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