summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/mos7840.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-04-16 18:17:38 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-25 06:16:52 +0200
commit0ba4034e20abf372dae6c6cabeeeab600acb5889 (patch)
tree06a0968578ed46e364cf51aa50262b6e9e2bcc2e /drivers/usb/serial/mos7840.c
parentUSB: option.c: correct DTR behaviour (diff)
downloadlinux-0ba4034e20abf372dae6c6cabeeeab600acb5889.tar.xz
linux-0ba4034e20abf372dae6c6cabeeeab600acb5889.zip
USB: serial: remove unneeded number endpoints settings
The usb-serial core no longer checks these fields so remove them from all of the individual drivers. They will be removed from the usb-serial core in a patch later in the series. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/mos7840.c')
-rw-r--r--drivers/usb/serial/mos7840.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c
index 0b29c5383dc8..37c4f0736bc1 100644
--- a/drivers/usb/serial/mos7840.c
+++ b/drivers/usb/serial/mos7840.c
@@ -2800,12 +2800,7 @@ static struct usb_serial_driver moschip7840_4port_device = {
.description = DRIVER_DESC,
.usb_driver = &io_driver,
.id_table = moschip_port_id_table,
- .num_interrupt_in = 1, //NUM_DONT_CARE,//1,
-#ifdef check
- .num_bulk_in = 4,
- .num_bulk_out = 4,
.num_ports = 4,
-#endif
.open = mos7840_open,
.close = mos7840_close,
.write = mos7840_write,