diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-03-10 15:21:43 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-03-10 15:21:43 -0300 |
commit | 6b70793b0fb5b9f9ef070eaa583954d21cded600 (patch) | |
tree | 9759ce963f52fdefd64fd7b297cf06f5c5dbcdd2 | |
parent | 5bdd655f12af17420e39e62948d958ce30e5e153 (diff) | |
download | mediapointer-dvb-s2-6b70793b0fb5b9f9ef070eaa583954d21cded600.tar.gz mediapointer-dvb-s2-6b70793b0fb5b9f9ef070eaa583954d21cded600.tar.bz2 |
Remove 'dvbdev' from struct dmxdev_filter
From: Andreas Oberritter <obi@linuxtv.org>
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-- | linux/drivers/media/dvb/dvb-core/dmxdev.c | 1 | ||||
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dmxdev.h | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dmxdev.c b/linux/drivers/media/dvb/dvb-core/dmxdev.c index ab1aeb84c..5cd2f9829 100644 --- a/linux/drivers/media/dvb/dvb-core/dmxdev.c +++ b/linux/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/linux/drivers/media/dvb/dvb-core/dmxdev.h b/linux/drivers/media/dvb/dvb-core/dmxdev.h index 0f01e5067..63f299d0f 100644 --- a/linux/drivers/media/dvb/dvb-core/dmxdev.h +++ b/linux/drivers/media/dvb/dvb-core/dmxdev.h @@ -65,8 +65,6 @@ struct dmxdev_buffer { }; struct dmxdev_filter { - struct dvb_device *dvbdev; - union { struct dmx_section_filter *sec; } filter; |