diff options
author | Andreas Oberritter <obi@linuxtv.org> | 2006-03-10 13:21:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-21 11:53:02 -0500 |
commit | 6abe6bff6fc62832bc8cce3886b9670ba2542601 (patch) | |
tree | af38646bed34ff33aa6a95395a1d9a634b320542 /drivers/media/dvb | |
parent | 09794a6f95cf970d76e8b1c0ddd2b20a89f3dd88 (diff) |
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>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/dvb-core/dmxdev.c | 1 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-core/dmxdev.h | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/dvb/dvb-core/dmxdev.c b/drivers/media/dvb/dvb-core/dmxdev.c index ab1aeb84c681..5cd2f98290ae 100644 --- a/drivers/media/dvb/dvb-core/dmxdev.c +++ b/drivers/media/dvb/dvb-core/dmxdev.c | |||
@@ -694,7 +694,6 @@ static int dvb_demux_open(struct inode *inode, struct file *file) | |||
694 | 694 | ||
695 | dmxdevfilter=&dmxdev->filter[i]; | 695 | dmxdevfilter=&dmxdev->filter[i]; |
696 | mutex_init(&dmxdevfilter->mutex); | 696 | mutex_init(&dmxdevfilter->mutex); |
697 | dmxdevfilter->dvbdev=dmxdev->dvbdev; | ||
698 | file->private_data=dmxdevfilter; | 697 | file->private_data=dmxdevfilter; |
699 | 698 | ||
700 | dvb_dmxdev_buffer_init(&dmxdevfilter->buffer); | 699 | dvb_dmxdev_buffer_init(&dmxdevfilter->buffer); |
diff --git a/drivers/media/dvb/dvb-core/dmxdev.h b/drivers/media/dvb/dvb-core/dmxdev.h index 4cb879435fdb..5d4d18a00a68 100644 --- a/drivers/media/dvb/dvb-core/dmxdev.h +++ b/drivers/media/dvb/dvb-core/dmxdev.h | |||
@@ -62,8 +62,6 @@ struct dmxdev_buffer { | |||
62 | }; | 62 | }; |
63 | 63 | ||
64 | struct dmxdev_filter { | 64 | struct dmxdev_filter { |
65 | struct dvb_device *dvbdev; | ||
66 | |||
67 | union { | 65 | union { |
68 | struct dmx_section_filter *sec; | 66 | struct dmx_section_filter *sec; |
69 | } filter; | 67 | } filter; |