diff options
author | Amber Jain <amber@ti.com> | 2011-04-19 08:23:51 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 16:56:06 -0400 |
commit | 118314c0169f25b1456232def5ca48d15e5036f0 (patch) | |
tree | 7bd24edca6727e117156ad098cf849de58c20a50 /drivers/media | |
parent | 72915e851da9aeea2bf619f8f52ab0ee4bc241ca (diff) |
[media] V4l2: OMAP: VOUT: Minor Cleanup, removing the unnecessary code
Minor changes to remove the unused code from omap_vout driver.
Signed-off-by: Amber Jain <amber@ti.com>
Signed-off-by: Samreen <samreen@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/omap/omap_vout.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/video/omap/omap_vout.c b/drivers/media/video/omap/omap_vout.c index a2f9651b7be7..b5ef36222440 100644 --- 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, | |||
1041 | struct v4l2_fmtdesc *fmt) | 1041 | struct v4l2_fmtdesc *fmt) |
1042 | { | 1042 | { |
1043 | int index = fmt->index; | 1043 | int index = fmt->index; |
1044 | enum v4l2_buf_type type = fmt->type; | ||
1045 | 1044 | ||
1046 | fmt->index = index; | ||
1047 | fmt->type = type; | ||
1048 | if (index >= NUM_OUTPUT_FORMATS) | 1045 | if (index >= NUM_OUTPUT_FORMATS) |
1049 | return -EINVAL; | 1046 | return -EINVAL; |
1050 | 1047 | ||
@@ -1213,10 +1210,7 @@ static int vidioc_enum_fmt_vid_overlay(struct file *file, void *fh, | |||
1213 | struct v4l2_fmtdesc *fmt) | 1210 | struct v4l2_fmtdesc *fmt) |
1214 | { | 1211 | { |
1215 | int index = fmt->index; | 1212 | int index = fmt->index; |
1216 | enum v4l2_buf_type type = fmt->type; | ||
1217 | 1213 | ||
1218 | fmt->index = index; | ||
1219 | fmt->type = type; | ||
1220 | if (index >= NUM_OUTPUT_FORMATS) | 1214 | if (index >= NUM_OUTPUT_FORMATS) |
1221 | return -EINVAL; | 1215 | return -EINVAL; |
1222 | 1216 | ||