[media] media: coda: remove duplicated call of fh_to_ctx in vidioc_s_fmt_vid_out

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Acked-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Richard Zhao 2012-08-21 02:47:42 -03:00 committed by Mauro Carvalho Chehab
parent 4b961180ef
commit 8d6214724b
1 changed files with 1 additions and 1 deletions

View File

@ -501,7 +501,7 @@ static int vidioc_s_fmt_vid_out(struct file *file, void *priv,
if (ret)
return ret;
ret = vidioc_s_fmt(fh_to_ctx(priv), f);
ret = vidioc_s_fmt(ctx, f);
if (ret)
ctx->colorspace = f->fmt.pix.colorspace;