[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 5dd6806c75abd4e85234a6cb52582b193d9c1513..fcc713f8098d44713f3e57426755950e1b1ca2a4 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 9486eacc6e0f5ec1446d3b9a6f05c4823ef2a277..009a95a4cb024566bb8e146d86740dce1677c7ca 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;