projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af224ca
)
tty: Remove unused TTY_NUMBER() macro
author
Peter Hurley
<peter@hurleysoftware.com>
Sun, 10 Apr 2016 03:36:38 +0000
(20:36 -0700)
committer
Greg 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/tty/tty_io.c
b/drivers/tty/tty_io.c
index 320dc4da71620f8bf96becf2d095bc62344d8a52..3cdd63b4a055002d33defa47d6ca3fb3bb76ffe2 100644
(file)
--- 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