git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[media] soc_camera: remove the now obsolete struct soc_camera_ops
[pandora-kernel.git]
/
drivers
/
media
/
video
/
videobuf2-memops.c
diff --git
a/drivers/media/video/videobuf2-memops.c
b/drivers/media/video/videobuf2-memops.c
index
569eeb3
..
71a7a78
100644
(file)
--- a/
drivers/media/video/videobuf2-memops.c
+++ b/
drivers/media/video/videobuf2-memops.c
@@
-68,12
+68,12
@@
void vb2_put_vma(struct vm_area_struct *vma)
if (!vma)
return;
- if (vma->vm_file)
- fput(vma->vm_file);
-
if (vma->vm_ops && vma->vm_ops->close)
vma->vm_ops->close(vma);
+ if (vma->vm_file)
+ fput(vma->vm_file);
+
kfree(vma);
}
EXPORT_SYMBOL_GPL(vb2_put_vma);