From 8d6214724bb9623b25d7b24603c59691ce7f2b22 Mon Sep 17 00:00:00 2001 From: Richard Zhao Date: Tue, 21 Aug 2012 02:47:42 -0300 Subject: [PATCH] [media] media: coda: remove duplicated call of fh_to_ctx in vidioc_s_fmt_vid_out Signed-off-by: Richard Zhao Acked-by: Javier Martin Signed-off-by: Mauro Carvalho Chehab --- drivers/media/platform/coda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index 690851400911..69ff0d36997e 100644 --- a/drivers/media/platform/coda.c +++ b/drivers/media/platform/coda.c @@ -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; -- 2.30.2