summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-core/dvb_demux.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2016-10-13 12:14:38 +0200
committerMauro Carvalho Chehab2016-10-21 12:43:24 +0200
commitdd79d27e1bbded7366ade6d25fbfde305e33fad8 (patch)
tree36418da9a4f875830d93fad51f86854ab1f8de4b /drivers/media/dvb-core/dvb_demux.h
parent[media] dvb_demux: uncomment a packet loss check code (diff)
downloadkernel-qcow2-linux-dd79d27e1bbded7366ade6d25fbfde305e33fad8.tar.gz
kernel-qcow2-linux-dd79d27e1bbded7366ade6d25fbfde305e33fad8.tar.xz
kernel-qcow2-linux-dd79d27e1bbded7366ade6d25fbfde305e33fad8.zip
[media] dvb-core: get rid of demux optional circular buffer
There is a provision at the dvb_demux.c to use a vmalloc'ed circular buffer, enabled via an extra #ifdef option that it is not at Kconfig. Enabling it will only make the Kernel to allocate/deallocate such buffer, but no code would actually use it. So, no practical effect, except for sparing some memory without any good reason. So, get rid of such dead code. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-core/dvb_demux.h')
-rw-r--r--drivers/media/dvb-core/dvb_demux.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/dvb-core/dvb_demux.h b/drivers/media/dvb-core/dvb_demux.h
index 5ed3cab4ad28..9235b008ea0a 100644
--- a/drivers/media/dvb-core/dvb_demux.h
+++ b/drivers/media/dvb-core/dvb_demux.h
@@ -80,8 +80,6 @@ struct dvb_demux_feed {
int type;
int state;
u16 pid;
- u8 *buffer;
- int buffer_size;
ktime_t timeout;
struct dvb_demux_filter *filter;