projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d36e74c
)
remove is_tty()
author
Adrian Bunk
<
[email protected]
>
Thu, 24 Jul 2008 04:26:47 +0000
(21:26 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 24 Jul 2008 17:47:13 +0000
(10:47 -0700)
This patch removes the no longer used is_tty().
Signed-off-by: Adrian Bunk <
[email protected]
>
Acked-by: Alan Cox <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/char/tty_io.c
patch
|
blob
|
history
diff --git
a/drivers/char/tty_io.c
b/drivers/char/tty_io.c
index fa48dba5ba5e94ff5833f16c8e4e758bb1ffbd66..6f4d856df987e745a46f2a407a7e2706feb1ae57 100644
(file)
--- a/
drivers/char/tty_io.c
+++ b/
drivers/char/tty_io.c
@@
-1119,19
+1119,6
@@
int tty_hung_up_p(struct file *filp)
EXPORT_SYMBOL(tty_hung_up_p);
-/**
- * is_tty - checker whether file is a TTY
- * @filp: file handle that may be a tty
- *
- * Check if the file handle is a tty handle.
- */
-
-int is_tty(struct file *filp)
-{
- return filp->f_op->read == tty_read
- || filp->f_op->read == hung_up_tty_read;
-}
-
static void session_clear_tty(struct pid *session)
{
struct task_struct *p;