]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/tty/tty_io.c
tty: Remove unused TTY_NUMBER() macro
[mirror_ubuntu-artful-kernel.git] / 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