aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-streams.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx18/cx18-streams.c')
-rw-r--r--drivers/media/video/cx18/cx18-streams.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/media/video/cx18/cx18-streams.c b/drivers/media/video/cx18/cx18-streams.c
index 304b6bc5121b..9755f4416e96 100644
--- a/drivers/media/video/cx18/cx18-streams.c
+++ b/drivers/media/video/cx18/cx18-streams.c
@@ -356,13 +356,6 @@ void cx18_streams_cleanup(struct cx18 *cx, int unregister)
356 } 356 }
357} 357}
358 358
359static inline bool cx18_stream_enabled(struct cx18_stream *s)
360{
361 return s->video_dev || s->dvb.enabled ||
362 (s->type == CX18_ENC_STREAM_TYPE_IDX &&
363 s->cx->stream_buffers[CX18_ENC_STREAM_TYPE_IDX] != 0);
364}
365
366static void cx18_vbi_setup(struct cx18_stream *s) 359static void cx18_vbi_setup(struct cx18_stream *s)
367{ 360{
368 struct cx18 *cx = s->cx; 361 struct cx18 *cx = s->cx;