]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/media/video/cx18/cx18-streams.c
V4L/DVB (13906): cx18: Start IDX streams automatically as an internal associated...
[mv-sheeva.git] / drivers / media / video / cx18 / cx18-streams.c
index 304b6bc5121b2d8c4c4fc0ffc5c20ef03571758b..9755f4416e962f57be4ba308a46a2726ef7d9be9 100644 (file)
@@ -356,13 +356,6 @@ void cx18_streams_cleanup(struct cx18 *cx, int unregister)
        }
 }
 
-static inline bool cx18_stream_enabled(struct cx18_stream *s)
-{
-       return s->video_dev || s->dvb.enabled ||
-              (s->type == CX18_ENC_STREAM_TYPE_IDX &&
-               s->cx->stream_buffers[CX18_ENC_STREAM_TYPE_IDX] != 0);
-}
-
 static void cx18_vbi_setup(struct cx18_stream *s)
 {
        struct cx18 *cx = s->cx;