Skip to content

Commit

Permalink
V4L/DVB (3436): Remove 'dvbdev' from struct dmxdev_filter
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andreas Oberritter authored and Linus Torvalds committed Mar 21, 2006
1 parent 09794a6 commit 6abe6bf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion drivers/media/dvb/dvb-core/dmxdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 0 additions & 2 deletions drivers/media/dvb/dvb-core/dmxdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ struct dmxdev_buffer {
};

struct dmxdev_filter {
struct dvb_device *dvbdev;

union {
struct dmx_section_filter *sec;
} filter;
Expand Down

0 comments on commit 6abe6bf

Please sign in to comment.