]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
V4L/DVB (8770): cx18: get rid of ununsed buffers stolen field
authorAndy Walls <awalls@radix.net>
Fri, 22 Aug 2008 23:46:43 +0000 (20:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:36:53 +0000 (09:36 -0200)
cx18: get rid of ununsed buffers stolen field.  It's an unused holdover
from ivtv.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-driver.h
drivers/media/video/cx18/cx18-streams.c

index 4801bc7fb5b224336c2cd4ba609df9fde7368bb6..db7483bea44a47f3fd45c78b997b4a60e940f042 100644 (file)
@@ -259,7 +259,6 @@ struct cx18_stream {
        /* Buffer Stats */
        u32 buffers;
        u32 buf_size;
-       u32 buffers_stolen;
 
        /* Buffer Queues */
        struct cx18_queue q_free;       /* free buffers */
index 0da57f583bf75a90207b6b82bd5b762f95c742c6..45dc6f399ed4cd9663a4bd42000e74379d8da709 100644 (file)
@@ -432,7 +432,6 @@ int cx18_start_v4l2_encode_stream(struct cx18_stream *s)
        default:
                return -EINVAL;
        }
-       s->buffers_stolen = 0;
 
        /* mute/unmute video */
        cx18_vapi(cx, CX18_CPU_SET_VIDEO_MUTE, 2,