提交 6abe6bff 编写于 作者: A Andreas Oberritter 提交者: Linus Torvalds

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

The member dvbdev gets initialized once but is never used after that.
Signed-off-by: NAndreas Oberritter <obi@linuxtv.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 09794a6f
......@@ -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);
......
......@@ -62,8 +62,6 @@ struct dmxdev_buffer {
};
struct dmxdev_filter {
struct dvb_device *dvbdev;
union {
struct dmx_section_filter *sec;
} filter;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册