summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@linuxtv.org>2006-03-10 15:21:43 -0300
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-21 08:53:02 -0800
commit6abe6bff6fc62832bc8cce3886b9670ba2542601 (patch)
treeaf38646bed34ff33aa6a95395a1d9a634b320542
parent09794a6f95cf970d76e8b1c0ddd2b20a89f3dd88 (diff)
downloadlinux-6abe6bff6fc62832bc8cce3886b9670ba2542601.tar.bz2
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>
-rw-r--r--drivers/media/dvb/dvb-core/dmxdev.c1
-rw-r--r--drivers/media/dvb/dvb-core/dmxdev.h2
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)
dmxdevfilter=&dmxdev->filter[i];
mutex_init(&dmxdevfilter->mutex);
- dmxdevfilter->dvbdev=dmxdev->dvbdev;
file->private_data=dmxdevfilter;
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 {
};
struct dmxdev_filter {
- struct dvb_device *dvbdev;
-
union {
struct dmx_section_filter *sec;
} filter;