[media] em28xx: Remove unused list_head struct for queued buffers
authorEzequiel Garcia <elezegarcia@gmail.com>
Sat, 28 Apr 2012 12:57:02 +0000 (09:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 14 May 2012 19:06:44 +0000 (16:06 -0300)
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>
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/em28xx/em28xx.h

index 5dd6806..fcc713f 100644 (file)
@@ -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 */
index 9486eac..009a95a 100644 (file)
@@ -255,7 +255,6 @@ struct em28xx_buffer {
 
 struct em28xx_dmaqueue {
        struct list_head       active;
-       struct list_head       queued;
 
        wait_queue_head_t          wq;