[COMMON] media: mfc: fix gcc build warning
authorJeonghee Kim <jhhhh.kim@samsung.com>
Mon, 11 Jun 2018 00:56:23 +0000 (09:56 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 06:12:18 +0000 (15:12 +0900)
Change-Id: I5bbfa369600e7ce3d0dafe6d78a0f7713196d7d0
Signed-off-by: Jeonghee Kim <jhhhh.kim@samsung.com>
drivers/media/platform/exynos/mfc/s5p_mfc_enc.c

index dc6687270164baa39d2b89bee72c3ca544823b78..274250d7c8bec2c5e29877f70fcda7d3ccb125cc 100644 (file)
@@ -49,7 +49,6 @@ static struct v4l2_queryctrl *mfc_enc_get_ctrl(int id)
 
 static int mfc_enc_check_ctrl_val(struct s5p_mfc_ctx *ctx, struct v4l2_control *ctrl)
 {
-       struct s5p_mfc_dev *dev = ctx->dev;
        struct v4l2_queryctrl *c;
 
        c = mfc_enc_get_ctrl(ctrl->id);