diff options
Diffstat (limited to 'drivers/char/cyclades.c')
-rw-r--r-- | drivers/char/cyclades.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/char/cyclades.c b/drivers/char/cyclades.c index 249f443115f2..1b4ff138b8ff 100644 --- a/drivers/char/cyclades.c +++ b/drivers/char/cyclades.c | |||
@@ -4049,14 +4049,6 @@ cy_ioctl(struct tty_struct *tty, struct file *file, | |||
4049 | case CYGETRTSDTR_INV: | 4049 | case CYGETRTSDTR_INV: |
4050 | ret_val = info->rtsdtr_inv; | 4050 | ret_val = info->rtsdtr_inv; |
4051 | break; | 4051 | break; |
4052 | case CYGETCARDINFO: | ||
4053 | if (copy_to_user(argp, &cy_card[info->card], | ||
4054 | sizeof(struct cyclades_card))) { | ||
4055 | ret_val = -EFAULT; | ||
4056 | break; | ||
4057 | } | ||
4058 | ret_val = 0; | ||
4059 | break; | ||
4060 | case CYGETCD1400VER: | 4052 | case CYGETCD1400VER: |
4061 | ret_val = info->chip_rev; | 4053 | ret_val = info->chip_rev; |
4062 | break; | 4054 | break; |