Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105254
b: refs/heads/master
c: d7ce20b
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Jul 24, 2008
1 parent fa6eadd commit eeadeff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d36e74c4392b5f26a5c4d94d7881a156ddc8e593
refs/heads/master: d7ce20b2024d318b9ba88859226af1441270d99f
13 changes: 0 additions & 13 deletions trunk/drivers/char/tty_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit eeadeff

Please sign in to comment.