diff mbox

[PATCH/RFC,v2] V4L core cleanups HG tree

Message ID 200911260102.40881.laurent.pinchart@ideasonboard.com (mailing list archive)
State RFC
Headers show

Commit Message

Laurent Pinchart Nov. 26, 2009, 12:02 a.m. UTC
None
diff mbox

Patch

diff -r 98e3929a1a2d linux/drivers/media/video/au0828/au0828-video.c
--- a/linux/drivers/media/video/au0828/au0828-video.c	Wed Nov 25 12:55:47 2009 +0100
+++ b/linux/drivers/media/video/au0828/au0828-video.c	Thu Nov 26 01:02:15 2009 +0100
@@ -697,10 +697,8 @@ 
 	dprintk(1, "au0828_release_resources called\n");
 	mutex_lock(&au0828_sysfs_lock);
 
-	if (dev->vdev) {
-		list_del(&dev->au0828list);
+	if (dev->vdev)
 		video_unregister_device(dev->vdev);
-	}
 	if (dev->vbi_dev)
 		video_unregister_device(dev->vbi_dev);
 
@@ -1671,7 +1669,6 @@ 
 	if (retval != 0) {
 		dprintk(1, "unable to register video device (error = %d).\n",
 			retval);
-		list_del(&dev->au0828list);
 		video_device_release(dev->vdev);
 		return -ENODEV;
 	}
@@ -1683,7 +1680,6 @@ 
 	if (retval != 0) {
 		dprintk(1, "unable to register vbi device (error = %d).\n",
 			retval);
-		list_del(&dev->au0828list);
 		video_device_release(dev->vbi_dev);
 		video_device_release(dev->vdev);
 		return -ENODEV;
diff -r 98e3929a1a2d linux/drivers/media/video/au0828/au0828.h
--- a/linux/drivers/media/video/au0828/au0828.h	Wed Nov 25 12:55:47 2009 +0100
+++ b/linux/drivers/media/video/au0828/au0828.h	Thu Nov 26 01:02:15 2009 +0100
@@ -192,7 +192,6 @@ 
 	struct au0828_dvb		dvb;
 
 	/* Analog */
-	struct list_head au0828list;
 	struct v4l2_device v4l2_dev;
 	int users;
 	unsigned int stream_on:1;	/* Locks streams */