diff options
author | Dafna Hirschfeld <dafna.hirschfeld@collabora.com> | 2020-04-12 15:05:02 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-05-05 18:06:33 +0300 |
commit | 21e4cdcb62ae60b9dc23917e9d65b7283fbc8bc7 (patch) | |
tree | 57a78c02279fcf371bc6eae033d615fb63965ff9 /crypto | |
parent | e9ebce2d4c8b59c30ddc453770899aff9d3c58d0 (diff) | |
download | linux-21e4cdcb62ae60b9dc23917e9d65b7283fbc8bc7.tar.xz |
media: staging: rkisp1: rsz: remove redundant if statement and add inline doc
The statement "if (rsz->fmt_type == V4L2_PIXEL_ENC_YUV)"
can be removed since the value of rsz->fmt_type is either
V4L2_PIXEL_ENC_YUV or V4L2_PIXEL_ENC_BAYER and the function
returns if it is bayer. In addition some doc with clarification
is added.
Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions