From: Ezequiel Garcia Date: Sat, 28 Apr 2012 12:57:02 +0000 (-0300) Subject: [media] em28xx: Remove unused list_head struct for queued buffers X-Git-Tag: firefly_0821_release~3680^2~275^2~2217 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cb04af205e4b1f0aaa9010726faf95da67f10152;p=firefly-linux-kernel-4.4.55.git [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 Signed-off-by: Mauro Carvalho Chehab --- 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;