Browse Source

[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>
Ezequiel Garcia 13 years ago
parent
commit
cb04af205e
2 changed files with 0 additions and 3 deletions
  1. 0 2
      drivers/media/video/em28xx/em28xx-cards.c
  2. 0 1
      drivers/media/video/em28xx/em28xx.h

+ 0 - 2
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 */

+ 0 - 1
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;