Commit 0ba4034e authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5f760040
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -306,9 +306,6 @@ static struct usb_serial_driver airprime_device = {
	},
	.usb_driver =		&airprime_driver,
	.id_table =		id_table,
	.num_interrupt_in =	NUM_DONT_CARE,
	.num_bulk_in =		NUM_DONT_CARE,
	.num_bulk_out =		NUM_DONT_CARE,
	.open =			airprime_open,
	.close =		airprime_close,
	.write =		airprime_write,
+0 −3
Original line number Diff line number Diff line
@@ -447,9 +447,6 @@ static struct usb_serial_driver ark3116_device = {
	},
	.id_table =		id_table,
	.usb_driver =		&ark3116_driver,
	.num_interrupt_in =	1,
	.num_bulk_in =		1,
	.num_bulk_out =		1,
	.num_ports =		1,
	.attach =		ark3116_attach,
	.set_termios =		ark3116_set_termios,
+0 −3
Original line number Diff line number Diff line
@@ -128,9 +128,6 @@ static struct usb_serial_driver belkin_device = {
	.description =		"Belkin / Peracom / GoHubs USB Serial Adapter",
	.usb_driver =		&belkin_driver,
	.id_table =		id_table_combined,
	.num_interrupt_in =	1,
	.num_bulk_in =		1,
	.num_bulk_out =		1,
	.num_ports =		1,
	.open =			belkin_sa_open,
	.close =		belkin_sa_close,
+0 −3
Original line number Diff line number Diff line
@@ -318,9 +318,6 @@ static struct usb_serial_driver ch341_device = {
	},
	.id_table         = id_table,
	.usb_driver       = &ch341_driver,
	.num_interrupt_in = NUM_DONT_CARE,
	.num_bulk_in      = 1,
	.num_bulk_out     = 1,
	.num_ports        = 1,
	.open             = ch341_open,
	.set_termios      = ch341_set_termios,
+0 −3
Original line number Diff line number Diff line
@@ -109,9 +109,6 @@ static struct usb_serial_driver cp2101_device = {
	},
	.usb_driver		= &cp2101_driver,
	.id_table		= id_table,
	.num_interrupt_in	= 0,
	.num_bulk_in		= NUM_DONT_CARE,
	.num_bulk_out		= NUM_DONT_CARE,
	.num_ports		= 1,
	.open			= cp2101_open,
	.close			= cp2101_close,
Loading