git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tty: pty, remove BUG_ON from pty_close
[sfrench/cifs-2.6.git]
/
drivers
/
tty
/
pty.c
diff --git
a/drivers/tty/pty.c
b/drivers/tty/pty.c
index a59f1e062bc65320ceda620e698c531d1a03163b..5e2374580e271395151039b96fd3fbf1d177e884 100644
(file)
--- a/
drivers/tty/pty.c
+++ b/
drivers/tty/pty.c
@@
-45,7
+45,6
@@
static DEFINE_MUTEX(devpts_mutex);
static void pty_close(struct tty_struct *tty, struct file *filp)
{
- BUG_ON(!tty);
if (tty->driver->subtype == PTY_TYPE_MASTER)
WARN_ON(tty->count > 1);
else {