summaryrefslogtreecommitdiff
path: root/drivers/media/video/em28xx
diff options
context:
space:
mode:
authorEzequiel Garcia <elezegarcia@gmail.com>2012-04-28 16:57:02 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-14 23:06:44 +0400
commitcb04af205e4b1f0aaa9010726faf95da67f10152 (patch)
treeb867a6500bcb49bc29fff5b4a89b398977f122f0 /drivers/media/video/em28xx
parent60332f033d4c8655e0afcea932e16d44646e82bf (diff)
downloadlinux-cb04af205e4b1f0aaa9010726faf95da67f10152.tar.xz
[media] em28xx: Remove unused list_head struct for queued buffers
The list_head struct usage was fully removed by commit d7aa80207babe694b316a48200b096cf0336ecb3. Signed-off-by: Ezequiel Garcia <elezegarcia@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-cards.c2
-rw-r--r--drivers/media/video/em28xx/em28xx.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c
index 5dd6806c75ab..fcc713f8098d 100644
--- a/drivers/media/video/em28xx/em28xx-cards.c
+++ b/drivers/media/video/em28xx/em28xx-cards.c
@@ -3080,9 +3080,7 @@ static int em28xx_init_dev(struct em28xx *dev, struct usb_device *udev,
/* init video dma queues */
INIT_LIST_HEAD(&dev->vidq.active);
- INIT_LIST_HEAD(&dev->vidq.queued);
INIT_LIST_HEAD(&dev->vbiq.active);
- INIT_LIST_HEAD(&dev->vbiq.queued);
if (dev->board.has_msp34xx) {
/* Send a reset to other chips via gpio */
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h
index 9486eacc6e0f..009a95a4cb02 100644
--- a/drivers/media/video/em28xx/em28xx.h
+++ b/drivers/media/video/em28xx/em28xx.h
@@ -255,7 +255,6 @@ struct em28xx_buffer {
struct em28xx_dmaqueue {
struct list_head active;
- struct list_head queued;
wait_queue_head_t wq;