Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193022
b: refs/heads/master
c: 63e4248
h: refs/heads/master
v: v3
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed May 19, 2010
1 parent 496b3e2 commit 4c0e69e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 53aaf07637baae8f53c33b803bbc96047d8da1c4
refs/heads/master: 63e424856b4ab0652c58f75a2d2ecb9c1f95db27
3 changes: 0 additions & 3 deletions trunk/drivers/media/video/videobuf-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,6 @@ static int __videobuf_mmap_free(struct videobuf_queue *q)
if (q->bufs[i] && q->bufs[i]->map)
return -EBUSY;

q->is_mmapped = 0;

for (i = 0; i < VIDEO_MAX_FRAME; i++) {
if (NULL == q->bufs[i])
continue;
Expand Down Expand Up @@ -1089,7 +1087,6 @@ int videobuf_mmap_mapper(struct videobuf_queue *q, struct vm_area_struct *vma)

mutex_lock(&q->vb_lock);
retval = CALL(q, mmap_mapper, q, vma);
q->is_mmapped = 1;
mutex_unlock(&q->vb_lock);

return retval;
Expand Down
1 change: 0 additions & 1 deletion trunk/include/media/videobuf-core.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ struct videobuf_queue {

unsigned int streaming:1;
unsigned int reading:1;
unsigned int is_mmapped:1;

/* capture via mmap() + ioctl(QBUF/DQBUF) */
struct list_head stream;
Expand Down

0 comments on commit 4c0e69e

Please sign in to comment.