projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72915e8
)
[media] V4l2: OMAP: VOUT: Minor Cleanup, removing the unnecessary code
author
Amber Jain
<
[email protected]
>
Tue, 19 Apr 2011 12:23:51 +0000
(09:23 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Wed, 27 Jul 2011 20:56:06 +0000
(17:56 -0300)
Minor changes to remove the unused code from omap_vout driver.
Signed-off-by: Amber Jain <
[email protected]
>
Signed-off-by: Samreen <
[email protected]
>
Signed-off-by: Vaibhav Hiremath <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/video/omap/omap_vout.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/omap/omap_vout.c
b/drivers/media/video/omap/omap_vout.c
index a2f9651b7be70dacfcf98e54785dd33c1076a61d..b5ef36222440bab59f14d8978b099b0cbe0ca8d5 100644
(file)
--- a/
drivers/media/video/omap/omap_vout.c
+++ b/
drivers/media/video/omap/omap_vout.c
@@
-1041,10
+1041,7
@@
static int vidioc_enum_fmt_vid_out(struct file *file, void *fh,
struct v4l2_fmtdesc *fmt)
{
int index = fmt->index;
- enum v4l2_buf_type type = fmt->type;
- fmt->index = index;
- fmt->type = type;
if (index >= NUM_OUTPUT_FORMATS)
return -EINVAL;
@@
-1213,10
+1210,7
@@
static int vidioc_enum_fmt_vid_overlay(struct file *file, void *fh,
struct v4l2_fmtdesc *fmt)
{
int index = fmt->index;
- enum v4l2_buf_type type = fmt->type;
- fmt->index = index;
- fmt->type = type;
if (index >= NUM_OUTPUT_FORMATS)
return -EINVAL;