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:
parent
09794a6f95
commit
6abe6bff6f
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue