Skip to contentSkip to conversation

em28xx: Remove unused list_head struct for queued buffers

PATCH New [email protected] 1 participant 1 message Apr 28, 2012 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1335621422-4083-1-git-send-email-y

#1 lore raw

PATCH 1/1 em28xx: Remove unused list_head struct for queued buffers

From: Ezequiel Garcia <[email protected]>

The list_head struct usage was fully removed by commit d7aa80207babe694b316a48200b096cf0336ecb3.

---
 drivers/media/video/em28xx/em28xx-cards.c |    2 --
 drivers/media/video/em28xx/em28xx.h       |    1 -
 2 files changed, 0 insertions(+), 3 deletions(-)
drivers/media/video/em28xx/em28xx-cards.c +0 -2
index 5c0fd9f..eea90b0 100644
@@ -3142,9 +3142,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 */
drivers/media/video/em28xx/em28xx.h +0 -1
index 100d1e8..87766f1 100644
@@ -269,7 +269,6 @@ struct em28xx_buffer {
 
 struct em28xx_dmaqueue {
 	struct list_head       active;
-	struct list_head       queued;
 
 	wait_queue_head_t          wq;
 
Signature · 1 line
1.7.3.4