[PATCH] remove 'dvbdev' from struct dmxdev_filter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Andreas Oberritter <obi@xxxxxxxxxxx>

The member dvbdev gets initialized once but is never used after that.

Signed-off-by: Andreas Oberritter <obi@xxxxxxxxxxx>
---

diff -r 4df072aa66f2 linux/drivers/media/dvb/dvb-core/dmxdev.c
--- a/linux/drivers/media/dvb/dvb-core/dmxdev.c	Thu Mar  9 05:57:56 2006 +0100
+++ b/linux/drivers/media/dvb/dvb-core/dmxdev.c	Thu Mar  9 06:04:29 2006 +0100
@@ -694,7 +694,6 @@ static int dvb_demux_open(struct inode *
 
 	dmxdevfilter=&dmxdev->filter[i];
 	mutex_init(&dmxdevfilter->mutex);
-	dmxdevfilter->dvbdev=dmxdev->dvbdev;
 	file->private_data=dmxdevfilter;
 
 	dvb_dmxdev_buffer_init(&dmxdevfilter->buffer);
diff -r 4df072aa66f2 linux/drivers/media/dvb/dvb-core/dmxdev.h
--- a/linux/drivers/media/dvb/dvb-core/dmxdev.h	Thu Mar  9 05:57:56 2006 +0100
+++ b/linux/drivers/media/dvb/dvb-core/dmxdev.h	Thu Mar  9 06:04:29 2006 +0100
@@ -65,8 +65,6 @@ struct dmxdev_buffer {
 };
 
 struct dmxdev_filter {
-	struct dvb_device *dvbdev;
-
 	union {
 		struct dmx_section_filter *sec;
 	} filter;



_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux