aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/s5p-jpeg/jpeg-core.c
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2019-10-24 15:35:44 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2019-11-01 11:44:38 +0100
commit49e4691ed79db1d73baf2894f68f0fc153b2f19e (patch)
tree71ca0e2ae90b9a8184ffa570b8a933e018dc7d76 /drivers/media/platform/s5p-jpeg/jpeg-core.c
parentc0dbea9b3c28b329fbd624406b2c8e7a295456bc (diff)
media: s5p-jpeg: drop unused components from s5p_jpeg_q_data
The number of components are only set, and never used. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Jacek Anaszewski <jacek.anaszewski@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/platform/s5p-jpeg/jpeg-core.c')
-rw-r--r--drivers/media/platform/s5p-jpeg/jpeg-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c b/drivers/media/platform/s5p-jpeg/jpeg-core.c
index 8dbbd5f2a40a..ac2162235cef 100644
--- a/drivers/media/platform/s5p-jpeg/jpeg-core.c
+++ b/drivers/media/platform/s5p-jpeg/jpeg-core.c
@@ -1236,7 +1236,6 @@ static bool s5p_jpeg_parse_hdr(struct s5p_jpeg_q_data *result,
}
result->sof = sof;
result->sof_len = sof_len;
- result->components = components;
return true;
}

Privacy Policy