Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=afa76b392e10d37c9e717198b5c2686de26c629d
Commit:     afa76b392e10d37c9e717198b5c2686de26c629d
Parent:     be848fe39a656fd57429263f5ac8c656ccdff362
Author:     Rolf Eike Beer <[EMAIL PROTECTED]>
AuthorDate: Mon Aug 13 08:08:21 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Tue Oct 9 22:05:00 2007 -0300

    V4L/DVB (6005): Initialize filp->private_data only once in em28xx_v4l2_open
    
    Some lines later filp->private_data is initialized to dev again.
    Since there are some checks that might fail in the mean time
    keep the later version.
    
    Signed-off-by: Rolf Eike Beer <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/video/em28xx/em28xx-video.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/media/video/em28xx/em28xx-video.c 
b/drivers/media/video/em28xx/em28xx-video.c
index 40307f3..e4fba90 100644
--- a/drivers/media/video/em28xx/em28xx-video.c
+++ b/drivers/media/video/em28xx/em28xx-video.c
@@ -268,8 +268,6 @@ static int em28xx_v4l2_open(struct inode *inode, struct 
file *filp)
        if (NULL == dev)
                return -ENODEV;
 
-       filp->private_data=dev;
-
        em28xx_videodbg("open minor=%d type=%s users=%d\n",
                                minor,v4l2_type_names[dev->type],dev->users);
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to