V4L/DVB (3436): Remove 'dvbdev' from struct dmxdev_filter
authorAndreas Oberritter <obi@linuxtv.org>
Fri, 10 Mar 2006 18:21:43 +0000 (15:21 -0300)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 21 Mar 2006 16:53:02 +0000 (08:53 -0800)
The member dvbdev gets initialized once but is never used after that.

Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/dvb-core/dmxdev.c
drivers/media/dvb/dvb-core/dmxdev.h

index ab1aeb84c6817fcc4aa9b26b3a5140796396b0bc..5cd2f98290aeb9c1eaff334f24115df62e7ee29e 100644 (file)
@@ -694,7 +694,6 @@ static int dvb_demux_open(struct inode *inode, struct file *file)
 
        dmxdevfilter=&dmxdev->filter[i];
        mutex_init(&dmxdevfilter->mutex);
-       dmxdevfilter->dvbdev=dmxdev->dvbdev;
        file->private_data=dmxdevfilter;
 
        dvb_dmxdev_buffer_init(&dmxdevfilter->buffer);
index 4cb879435fdb792f884bd670ec4fb80cd18d4b16..5d4d18a00a6855b016fbbda2f5c42a1cac9038f5 100644 (file)
@@ -62,8 +62,6 @@ struct dmxdev_buffer {
 };
 
 struct dmxdev_filter {
-       struct dvb_device *dvbdev;
-
        union {
                struct dmx_section_filter *sec;
        } filter;