diff options
Diffstat (limited to 'drivers/tty/synclink.c')
-rw-r--r-- | drivers/tty/synclink.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/tty/synclink.c b/drivers/tty/synclink.c index 3c4ad71f261d..fbdf4d01c6a9 100644 --- a/drivers/tty/synclink.c +++ b/drivers/tty/synclink.c | |||
@@ -3534,19 +3534,6 @@ static int mgsl_proc_show(struct seq_file *m, void *v) | |||
3534 | return 0; | 3534 | return 0; |
3535 | } | 3535 | } |
3536 | 3536 | ||
3537 | static int mgsl_proc_open(struct inode *inode, struct file *file) | ||
3538 | { | ||
3539 | return single_open(file, mgsl_proc_show, NULL); | ||
3540 | } | ||
3541 | |||
3542 | static const struct file_operations mgsl_proc_fops = { | ||
3543 | .owner = THIS_MODULE, | ||
3544 | .open = mgsl_proc_open, | ||
3545 | .read = seq_read, | ||
3546 | .llseek = seq_lseek, | ||
3547 | .release = single_release, | ||
3548 | }; | ||
3549 | |||
3550 | /* mgsl_allocate_dma_buffers() | 3537 | /* mgsl_allocate_dma_buffers() |
3551 | * | 3538 | * |
3552 | * Allocate and format DMA buffers (ISA adapter) | 3539 | * Allocate and format DMA buffers (ISA adapter) |
@@ -4298,7 +4285,7 @@ static const struct tty_operations mgsl_ops = { | |||
4298 | .tiocmget = tiocmget, | 4285 | .tiocmget = tiocmget, |
4299 | .tiocmset = tiocmset, | 4286 | .tiocmset = tiocmset, |
4300 | .get_icount = msgl_get_icount, | 4287 | .get_icount = msgl_get_icount, |
4301 | .proc_fops = &mgsl_proc_fops, | 4288 | .proc_show = mgsl_proc_show, |
4302 | }; | 4289 | }; |
4303 | 4290 | ||
4304 | /* | 4291 | /* |