diff options
author | Dafna Hirschfeld <dafna.hirschfeld@collabora.com> | 2020-04-12 14:05:02 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-05-05 17:06:33 +0200 |
commit | 21e4cdcb62ae60b9dc23917e9d65b7283fbc8bc7 (patch) | |
tree | 57a78c02279fcf371bc6eae033d615fb63965ff9 /drivers/media/test-drivers/vimc/vimc-scaler.c | |
parent | e9ebce2d4c8b59c30ddc453770899aff9d3c58d0 (diff) |
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 'drivers/media/test-drivers/vimc/vimc-scaler.c')
0 files changed, 0 insertions, 0 deletions