V4L/DVB (3436): Remove 'dvbdev' from struct dmxdev_filter

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>
This commit is contained in:
Andreas Oberritter 2006-03-10 15:21:43 -03:00 committed by Linus Torvalds
parent 09794a6f95
commit 6abe6bff6f
2 changed files with 0 additions and 3 deletions

View File

@ -694,7 +694,6 @@ static int dvb_demux_open(struct inode *inode, struct file *file)
dmxdevfilter=&dmxdev->filter[i]; dmxdevfilter=&dmxdev->filter[i];
mutex_init(&dmxdevfilter->mutex); mutex_init(&dmxdevfilter->mutex);
dmxdevfilter->dvbdev=dmxdev->dvbdev;
file->private_data=dmxdevfilter; file->private_data=dmxdevfilter;
dvb_dmxdev_buffer_init(&dmxdevfilter->buffer); dvb_dmxdev_buffer_init(&dmxdevfilter->buffer);

View File

@ -62,8 +62,6 @@ struct dmxdev_buffer {
}; };
struct dmxdev_filter { struct dmxdev_filter {
struct dvb_device *dvbdev;
union { union {
struct dmx_section_filter *sec; struct dmx_section_filter *sec;
} filter; } filter;