Skip to content

Commit

Permalink
V4L/DVB (8770): cx18: get rid of ununsed buffers stolen field
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andy Walls authored and Mauro Carvalho Chehab committed Oct 12, 2008
1 parent 9b0ae86 commit a928880
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/media/video/cx18/cx18-driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
1 change: 0 additions & 1 deletion drivers/media/video/cx18/cx18-streams.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a928880

Please sign in to comment.