diff options
author | Andy Walls <awalls@radix.net> | 2008-08-22 19:46:43 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:36:53 -0400 |
commit | a928880a5b65aa64bbbac880cdc65de85827ba20 (patch) | |
tree | 04147aab193c14cc68d710c342defe5862e749f6 /drivers/media/video | |
parent | 9b0ae867a6fd3035e97e6c33bc07a5bfd7c0f96c (diff) |
V4L/DVB (8770): cx18: get rid of ununsed buffers stolen field
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>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/cx18/cx18-driver.h | 1 | ||||
-rw-r--r-- | drivers/media/video/cx18/cx18-streams.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.h b/drivers/media/video/cx18/cx18-driver.h index 4801bc7fb5b2..db7483bea44a 100644 --- a/drivers/media/video/cx18/cx18-driver.h +++ b/drivers/media/video/cx18/cx18-driver.h | |||
@@ -259,7 +259,6 @@ struct cx18_stream { | |||
259 | /* Buffer Stats */ | 259 | /* Buffer Stats */ |
260 | u32 buffers; | 260 | u32 buffers; |
261 | u32 buf_size; | 261 | u32 buf_size; |
262 | u32 buffers_stolen; | ||
263 | 262 | ||
264 | /* Buffer Queues */ | 263 | /* Buffer Queues */ |
265 | struct cx18_queue q_free; /* free buffers */ | 264 | struct cx18_queue q_free; /* free buffers */ |
diff --git a/drivers/media/video/cx18/cx18-streams.c b/drivers/media/video/cx18/cx18-streams.c index 0da57f583bf7..45dc6f399ed4 100644 --- a/drivers/media/video/cx18/cx18-streams.c +++ b/drivers/media/video/cx18/cx18-streams.c | |||
@@ -432,7 +432,6 @@ int cx18_start_v4l2_encode_stream(struct cx18_stream *s) | |||
432 | default: | 432 | default: |
433 | return -EINVAL; | 433 | return -EINVAL; |
434 | } | 434 | } |
435 | s->buffers_stolen = 0; | ||
436 | 435 | ||
437 | /* mute/unmute video */ | 436 | /* mute/unmute video */ |
438 | cx18_vapi(cx, CX18_CPU_SET_VIDEO_MUTE, 2, | 437 | cx18_vapi(cx, CX18_CPU_SET_VIDEO_MUTE, 2, |