diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2022-07-12 11:47:15 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-07-15 15:41:15 +0100 |
commit | b4d1d5c65de9ac85b0d6cb11c80caad0178b303e (patch) | |
tree | e5ecdbe7f39c3f4abce45e991640ea3f60f886c3 /drivers/media/v4l2-core/v4l2-ctrls-request.c | |
parent | 109670df7dfed3fa0cb33e0868a889f4f512b698 (diff) | |
download | linux-b4d1d5c65de9ac85b0d6cb11c80caad0178b303e.tar.gz linux-b4d1d5c65de9ac85b0d6cb11c80caad0178b303e.tar.bz2 linux-b4d1d5c65de9ac85b0d6cb11c80caad0178b303e.zip |
media: venus: venus_helper_get_bufreq(): req is never NULL
Fix a smatch error:
drivers/media/platform/qcom/venus/helpers.c: drivers/media/platform/qcom/venus/helpers.c:678 venus_helper_get_bufreq() error: we previously assumed 'req' could be null (see line 674)
After checking how venus_helper_get_bufreq() is called it is clear that
req is never NULL, so just drop the checks.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ctrls-request.c')
0 files changed, 0 insertions, 0 deletions