Commit b0dcc5f6 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] s5p-jpeg: remove unused var

changeset 6c96dbbc added a new function that seems to be
a modified version of an existing function. That's ok, but
it was adding a "word" var from the previous code that it is
not used on the new function. So, remove this left-over.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 2d700715
...@@ -886,7 +886,6 @@ static void exynos4_jpeg_parse_decode_q_tbl(struct s5p_jpeg_ctx *ctx) ...@@ -886,7 +886,6 @@ static void exynos4_jpeg_parse_decode_q_tbl(struct s5p_jpeg_ctx *ctx)
struct s5p_jpeg *jpeg = ctx->jpeg; struct s5p_jpeg *jpeg = ctx->jpeg;
struct vb2_buffer *vb = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); struct vb2_buffer *vb = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx);
struct s5p_jpeg_buffer jpeg_buffer; struct s5p_jpeg_buffer jpeg_buffer;
unsigned int word;
int c, x, components; int c, x, components;
jpeg_buffer.size = ctx->out_q.sof_len; jpeg_buffer.size = ctx->out_q.sof_len;
...@@ -894,8 +893,6 @@ static void exynos4_jpeg_parse_decode_q_tbl(struct s5p_jpeg_ctx *ctx) ...@@ -894,8 +893,6 @@ static void exynos4_jpeg_parse_decode_q_tbl(struct s5p_jpeg_ctx *ctx)
(unsigned long)vb2_plane_vaddr(vb, 0) + ctx->out_q.sof; (unsigned long)vb2_plane_vaddr(vb, 0) + ctx->out_q.sof;
jpeg_buffer.curr = 0; jpeg_buffer.curr = 0;
word = 0;
skip(&jpeg_buffer, 5); /* P, Y, X */ skip(&jpeg_buffer, 5); /* P, Y, X */
components = get_byte(&jpeg_buffer); components = get_byte(&jpeg_buffer);
if (components == -1) if (components == -1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment