From: Jeonghee Kim Date: Mon, 11 Jun 2018 00:56:23 +0000 (+0900) Subject: [COMMON] media: mfc: fix gcc build warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ff9f4a7d3d69926d597bf383de5dbbd3525b6ec9;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] media: mfc: fix gcc build warning Change-Id: I5bbfa369600e7ce3d0dafe6d78a0f7713196d7d0 Signed-off-by: Jeonghee Kim --- diff --git a/drivers/media/platform/exynos/mfc/s5p_mfc_enc.c b/drivers/media/platform/exynos/mfc/s5p_mfc_enc.c index dc6687270164..274250d7c8be 100644 --- a/drivers/media/platform/exynos/mfc/s5p_mfc_enc.c +++ b/drivers/media/platform/exynos/mfc/s5p_mfc_enc.c @@ -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);