diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-03-31 18:19:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-01 11:59:10 -0400 |
commit | 0f043a81ebe84be3576667f04fdda481609e3816 (patch) | |
tree | c54a9ac4a1dc79bd5f2f7ec3ead5aa48802ff7a3 /drivers/isdn/capi | |
parent | 140716934f67a9b28c3f7032c07c20c746d97a31 (diff) |
proc tty: remove struct tty_operations::read_proc
struct tty_operations::proc_fops took it's place and there is one less
create_proc_read_entry() user now!
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/isdn/capi')
-rw-r--r-- | drivers/isdn/capi/capi.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/isdn/capi/capi.c b/drivers/isdn/capi/capi.c index 3e468d2cf730..2d8352419c0d 100644 --- a/drivers/isdn/capi/capi.c +++ b/drivers/isdn/capi/capi.c | |||
@@ -1331,12 +1331,6 @@ static void capinc_tty_send_xchar(struct tty_struct *tty, char ch) | |||
1331 | #endif | 1331 | #endif |
1332 | } | 1332 | } |
1333 | 1333 | ||
1334 | static int capinc_tty_read_proc(char *page, char **start, off_t off, | ||
1335 | int count, int *eof, void *data) | ||
1336 | { | ||
1337 | return 0; | ||
1338 | } | ||
1339 | |||
1340 | static struct tty_driver *capinc_tty_driver; | 1334 | static struct tty_driver *capinc_tty_driver; |
1341 | 1335 | ||
1342 | static const struct tty_operations capinc_ops = { | 1336 | static const struct tty_operations capinc_ops = { |
@@ -1358,7 +1352,6 @@ static const struct tty_operations capinc_ops = { | |||
1358 | .flush_buffer = capinc_tty_flush_buffer, | 1352 | .flush_buffer = capinc_tty_flush_buffer, |
1359 | .set_ldisc = capinc_tty_set_ldisc, | 1353 | .set_ldisc = capinc_tty_set_ldisc, |
1360 | .send_xchar = capinc_tty_send_xchar, | 1354 | .send_xchar = capinc_tty_send_xchar, |
1361 | .read_proc = capinc_tty_read_proc, | ||
1362 | }; | 1355 | }; |
1363 | 1356 | ||
1364 | static int capinc_tty_init(void) | 1357 | static int capinc_tty_init(void) |