diff options
author | Gianluca Gennari <gennarone@gmail.com> | 2012-03-22 10:13:55 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-04-10 14:47:45 -0400 |
commit | 5978ec646e9063b8d083a2fbdc7fbda599336334 (patch) | |
tree | 2e424bfac6131f4f0b154e237eb3ca283d9360b0 /drivers/media/video/em28xx | |
parent | 5f5f147f638734c0739b663aa68a3ae03cdc682b (diff) |
[media] em28xx: clean-up several unused parametrs in struct em28xx_usb_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>
Diffstat (limited to 'drivers/media/video/em28xx')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-core.c | 1 | ||||
-rw-r--r-- | drivers/media/video/em28xx/em28xx.h | 14 |
2 files changed, 0 insertions, 15 deletions
diff --git a/drivers/media/video/em28xx/em28xx-core.c b/drivers/media/video/em28xx/em28xx-core.c index cbbe399bc77f..fd54c807cf29 100644 --- a/drivers/media/video/em28xx/em28xx-core.c +++ b/drivers/media/video/em28xx/em28xx-core.c | |||
@@ -974,7 +974,6 @@ void em28xx_uninit_isoc(struct em28xx *dev, enum em28xx_mode mode) | |||
974 | else | 974 | else |
975 | isoc_bufs = &dev->isoc_ctl.analog_bufs; | 975 | isoc_bufs = &dev->isoc_ctl.analog_bufs; |
976 | 976 | ||
977 | dev->isoc_ctl.nfields = -1; | ||
978 | for (i = 0; i < isoc_bufs->num_bufs; i++) { | 977 | for (i = 0; i < isoc_bufs->num_bufs; i++) { |
979 | urb = isoc_bufs->urb[i]; | 978 | urb = isoc_bufs->urb[i]; |
980 | if (urb) { | 979 | if (urb) { |
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h index 286b9f8b0022..c2a5a99398b0 100644 --- a/drivers/media/video/em28xx/em28xx.h +++ b/drivers/media/video/em28xx/em28xx.h | |||
@@ -226,24 +226,10 @@ struct em28xx_usb_isoc_ctl { | |||
226 | /* isoc transfer buffers for digital mode */ | 226 | /* isoc transfer buffers for digital mode */ |
227 | struct em28xx_usb_isoc_bufs digital_bufs; | 227 | struct em28xx_usb_isoc_bufs digital_bufs; |
228 | 228 | ||
229 | /* Last buffer command and region */ | ||
230 | u8 cmd; | ||
231 | int pos, size, pktsize; | ||
232 | |||
233 | /* Last field: ODD or EVEN? */ | ||
234 | int field; | ||
235 | |||
236 | /* Stores incomplete commands */ | ||
237 | u32 tmp_buf; | ||
238 | int tmp_buf_len; | ||
239 | |||
240 | /* Stores already requested buffers */ | 229 | /* Stores already requested buffers */ |
241 | struct em28xx_buffer *vid_buf; | 230 | struct em28xx_buffer *vid_buf; |
242 | struct em28xx_buffer *vbi_buf; | 231 | struct em28xx_buffer *vbi_buf; |
243 | 232 | ||
244 | /* Stores the number of received fields */ | ||
245 | int nfields; | ||
246 | |||
247 | /* isoc urb callback */ | 233 | /* isoc urb callback */ |
248 | int (*isoc_copy) (struct em28xx *dev, struct urb *urb); | 234 | int (*isoc_copy) (struct em28xx *dev, struct urb *urb); |
249 | 235 | ||