diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-03-15 15:52:14 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-21 11:53:43 -0500 |
commit | 9b89f2d301db6ad1fc716b70d9e26a38c958e7a5 (patch) | |
tree | 2dbd3ce5f7349b46974e8759895aa5827c14d04d /drivers | |
parent | f89982a978974cc2fb74f512d7ec7438e0e851ea (diff) |
V4L/DVB (3521): Avoid warnings at video-buf.c
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/video-buf.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/media/video/video-buf.c b/drivers/media/video/video-buf.c index a8918e839f65..87e937581d5a 100644 --- a/drivers/media/video/video-buf.c +++ b/drivers/media/video/video-buf.c | |||
@@ -427,7 +427,7 @@ videobuf_queue_is_busy(struct videobuf_queue *q) | |||
427 | void | 427 | void |
428 | videobuf_queue_cancel(struct videobuf_queue *q) | 428 | videobuf_queue_cancel(struct videobuf_queue *q) |
429 | { | 429 | { |
430 | unsigned long flags; | 430 | unsigned long flags=0; |
431 | int i; | 431 | int i; |
432 | 432 | ||
433 | /* remove queued buffers from list */ | 433 | /* remove queued buffers from list */ |
@@ -588,7 +588,7 @@ videobuf_qbuf(struct videobuf_queue *q, | |||
588 | { | 588 | { |
589 | struct videobuf_buffer *buf; | 589 | struct videobuf_buffer *buf; |
590 | enum v4l2_field field; | 590 | enum v4l2_field field; |
591 | unsigned long flags; | 591 | unsigned long flags=0; |
592 | int retval; | 592 | int retval; |
593 | 593 | ||
594 | mutex_lock(&q->lock); | 594 | mutex_lock(&q->lock); |
@@ -700,7 +700,7 @@ int videobuf_streamon(struct videobuf_queue *q) | |||
700 | { | 700 | { |
701 | struct videobuf_buffer *buf; | 701 | struct videobuf_buffer *buf; |
702 | struct list_head *list; | 702 | struct list_head *list; |
703 | unsigned long flags; | 703 | unsigned long flags=0; |
704 | int retval; | 704 | int retval; |
705 | 705 | ||
706 | mutex_lock(&q->lock); | 706 | mutex_lock(&q->lock); |
@@ -745,7 +745,7 @@ videobuf_read_zerocopy(struct videobuf_queue *q, char __user *data, | |||
745 | size_t count, loff_t *ppos) | 745 | size_t count, loff_t *ppos) |
746 | { | 746 | { |
747 | enum v4l2_field field; | 747 | enum v4l2_field field; |
748 | unsigned long flags; | 748 | unsigned long flags=0; |
749 | int retval; | 749 | int retval; |
750 | 750 | ||
751 | /* setup stuff */ | 751 | /* setup stuff */ |
@@ -787,7 +787,7 @@ ssize_t videobuf_read_one(struct videobuf_queue *q, | |||
787 | int nonblocking) | 787 | int nonblocking) |
788 | { | 788 | { |
789 | enum v4l2_field field; | 789 | enum v4l2_field field; |
790 | unsigned long flags; | 790 | unsigned long flags=0; |
791 | unsigned size, nbufs, bytes; | 791 | unsigned size, nbufs, bytes; |
792 | int retval; | 792 | int retval; |
793 | 793 | ||
@@ -866,7 +866,7 @@ ssize_t videobuf_read_one(struct videobuf_queue *q, | |||
866 | int videobuf_read_start(struct videobuf_queue *q) | 866 | int videobuf_read_start(struct videobuf_queue *q) |
867 | { | 867 | { |
868 | enum v4l2_field field; | 868 | enum v4l2_field field; |
869 | unsigned long flags; | 869 | unsigned long flags=0; |
870 | int count = 0, size = 0; | 870 | int count = 0, size = 0; |
871 | int err, i; | 871 | int err, i; |
872 | 872 | ||
@@ -918,7 +918,7 @@ ssize_t videobuf_read_stream(struct videobuf_queue *q, | |||
918 | { | 918 | { |
919 | unsigned int *fc, bytes; | 919 | unsigned int *fc, bytes; |
920 | int err, retval; | 920 | int err, retval; |
921 | unsigned long flags; | 921 | unsigned long flags=0; |
922 | 922 | ||
923 | dprintk(2,"%s\n",__FUNCTION__); | 923 | dprintk(2,"%s\n",__FUNCTION__); |
924 | mutex_lock(&q->lock); | 924 | mutex_lock(&q->lock); |