diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/tty/pty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/pty.c b/drivers/tty/pty.c index 5ada7e9381eb..73c43f72b4c9 100644 --- a/drivers/tty/pty.c +++ b/drivers/tty/pty.c @@ -611,7 +611,7 @@ static struct cdev ptmx_cdev; */ int ptm_open_peer(struct file *master, struct tty_struct *tty, int flags) { - int fd = -1; + int fd; struct file *filp; int retval = -EINVAL; struct path path; |