[media] media: coda: remove duplicated call of fh_to_ctx in vidioc_s_fmt_vid_out
authorRichard Zhao <richard.zhao@freescale.com>
Tue, 21 Aug 2012 05:47:42 +0000 (02:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 15 Sep 2012 12:16:33 +0000 (09:16 -0300)
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>
drivers/media/platform/coda.c

index 6908514..69ff0d3 100644 (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;