Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2321acf2 authored by Ezequiel García's avatar Ezequiel García Committed by Mauro Carvalho Chehab
Browse files

[media] media: em28xx: Remove unused urb arrays from device struct



These arrays were embedded in the struct itself, but they weren't
used by anyone, since urbs are now dinamically allocated
at em28xx_usb_isoc_ctl struct.
Tested by compilation only.

Signed-off-by: default avatarEzequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 955b4430
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -613,9 +613,6 @@ struct em28xx {
	unsigned int *alt_max_pkt_size;	/* array of wMaxPacketSize */
	unsigned int *alt_max_pkt_size;	/* array of wMaxPacketSize */
	int dvb_alt;				/* alternate for DVB */
	int dvb_alt;				/* alternate for DVB */
	unsigned int dvb_max_pkt_size;		/* wMaxPacketSize for DVB */
	unsigned int dvb_max_pkt_size;		/* wMaxPacketSize for DVB */
	struct urb *urb[EM28XX_NUM_BUFS];	/* urb for isoc transfers */
	char *transfer_buffer[EM28XX_NUM_BUFS];	/* transfer buffers for isoc
						   transfer */
	char urb_buf[URB_MAX_CTRL_SIZE];	/* urb control msg buffer */
	char urb_buf[URB_MAX_CTRL_SIZE];	/* urb control msg buffer */


	/* helper funcs that call usb_control_msg */
	/* helper funcs that call usb_control_msg */