diff options
-rw-r--r-- | drivers/isdn/gigaset/ser-gigaset.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/drivers/isdn/gigaset/ser-gigaset.c b/drivers/isdn/gigaset/ser-gigaset.c index 3ac9c4194814..375be509e95f 100644 --- a/drivers/isdn/gigaset/ser-gigaset.c +++ b/drivers/isdn/gigaset/ser-gigaset.c | |||
@@ -607,28 +607,6 @@ static int gigaset_tty_hangup(struct tty_struct *tty) | |||
607 | } | 607 | } |
608 | 608 | ||
609 | /* | 609 | /* |
610 | * Read on the tty. | ||
611 | * Unused, received data goes only to the Gigaset driver. | ||
612 | */ | ||
613 | static ssize_t | ||
614 | gigaset_tty_read(struct tty_struct *tty, struct file *file, | ||
615 | unsigned char __user *buf, size_t count) | ||
616 | { | ||
617 | return -EAGAIN; | ||
618 | } | ||
619 | |||
620 | /* | ||
621 | * Write on the tty. | ||
622 | * Unused, transmit data comes only from the Gigaset driver. | ||
623 | */ | ||
624 | static ssize_t | ||
625 | gigaset_tty_write(struct tty_struct *tty, struct file *file, | ||
626 | const unsigned char *buf, size_t count) | ||
627 | { | ||
628 | return -EAGAIN; | ||
629 | } | ||
630 | |||
631 | /* | ||
632 | * Ioctl on the tty. | 610 | * Ioctl on the tty. |
633 | * Called in process context only. | 611 | * Called in process context only. |
634 | * May be re-entered by multiple ioctl calling threads. | 612 | * May be re-entered by multiple ioctl calling threads. |
@@ -761,8 +739,6 @@ static struct tty_ldisc_ops gigaset_ldisc = { | |||
761 | .open = gigaset_tty_open, | 739 | .open = gigaset_tty_open, |
762 | .close = gigaset_tty_close, | 740 | .close = gigaset_tty_close, |
763 | .hangup = gigaset_tty_hangup, | 741 | .hangup = gigaset_tty_hangup, |
764 | .read = gigaset_tty_read, | ||
765 | .write = gigaset_tty_write, | ||
766 | .ioctl = gigaset_tty_ioctl, | 742 | .ioctl = gigaset_tty_ioctl, |
767 | .receive_buf = gigaset_tty_receive, | 743 | .receive_buf = gigaset_tty_receive, |
768 | .write_wakeup = gigaset_tty_wakeup, | 744 | .write_wakeup = gigaset_tty_wakeup, |