Skip to content

Commit

Permalink
[media] em28xx: clean-up several unused parametrs in struct em28xx_us…
Browse files Browse the repository at this point in the history
…b_isoc_ctl

Get rid of several unused parameters in struct em28xx_usb_isoc_ctl.

Signed-off-by: Gianluca Gennari <gennarone@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Gianluca Gennari authored and Mauro Carvalho Chehab committed Apr 10, 2012
1 parent 5f5f147 commit 5978ec6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion drivers/media/video/em28xx/em28xx-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,6 @@ void em28xx_uninit_isoc(struct em28xx *dev, enum em28xx_mode mode)
else
isoc_bufs = &dev->isoc_ctl.analog_bufs;

dev->isoc_ctl.nfields = -1;
for (i = 0; i < isoc_bufs->num_bufs; i++) {
urb = isoc_bufs->urb[i];
if (urb) {
Expand Down
14 changes: 0 additions & 14 deletions drivers/media/video/em28xx/em28xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -226,24 +226,10 @@ struct em28xx_usb_isoc_ctl {
/* isoc transfer buffers for digital mode */
struct em28xx_usb_isoc_bufs digital_bufs;

/* Last buffer command and region */
u8 cmd;
int pos, size, pktsize;

/* Last field: ODD or EVEN? */
int field;

/* Stores incomplete commands */
u32 tmp_buf;
int tmp_buf_len;

/* Stores already requested buffers */
struct em28xx_buffer *vid_buf;
struct em28xx_buffer *vbi_buf;

/* Stores the number of received fields */
int nfields;

/* isoc urb callback */
int (*isoc_copy) (struct em28xx *dev, struct urb *urb);

Expand Down

0 comments on commit 5978ec6

Please sign in to comment.