提交 118314c0 编写于 作者: A Amber Jain 提交者: Mauro Carvalho Chehab

[media] V4l2: OMAP: VOUT: Minor Cleanup, removing the unnecessary code

Minor changes to remove the unused code from omap_vout driver.
Signed-off-by: NAmber Jain <amber@ti.com>
Signed-off-by: NSamreen <samreen@ti.com>
Signed-off-by: NVaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 72915e85
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册