diff options
Diffstat (limited to 'drivers/tty/pty.c')
-rw-r--r-- | drivers/tty/pty.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/tty/pty.c b/drivers/tty/pty.c index 923a48585501..210774726add 100644 --- a/drivers/tty/pty.c +++ b/drivers/tty/pty.c | |||
@@ -23,7 +23,6 @@ | |||
23 | #include <linux/major.h> | 23 | #include <linux/major.h> |
24 | #include <linux/mm.h> | 24 | #include <linux/mm.h> |
25 | #include <linux/init.h> | 25 | #include <linux/init.h> |
26 | #include <linux/smp_lock.h> | ||
27 | #include <linux/sysctl.h> | 26 | #include <linux/sysctl.h> |
28 | #include <linux/device.h> | 27 | #include <linux/device.h> |
29 | #include <linux/uaccess.h> | 28 | #include <linux/uaccess.h> |
@@ -334,7 +333,7 @@ free_mem_out: | |||
334 | return -ENOMEM; | 333 | return -ENOMEM; |
335 | } | 334 | } |
336 | 335 | ||
337 | static int pty_bsd_ioctl(struct tty_struct *tty, struct file *file, | 336 | static int pty_bsd_ioctl(struct tty_struct *tty, |
338 | unsigned int cmd, unsigned long arg) | 337 | unsigned int cmd, unsigned long arg) |
339 | { | 338 | { |
340 | switch (cmd) { | 339 | switch (cmd) { |
@@ -489,7 +488,7 @@ static struct ctl_table pty_root_table[] = { | |||
489 | }; | 488 | }; |
490 | 489 | ||
491 | 490 | ||
492 | static int pty_unix98_ioctl(struct tty_struct *tty, struct file *file, | 491 | static int pty_unix98_ioctl(struct tty_struct *tty, |
493 | unsigned int cmd, unsigned long arg) | 492 | unsigned int cmd, unsigned long arg) |
494 | { | 493 | { |
495 | switch (cmd) { | 494 | switch (cmd) { |