diff options
| author | Tzung-Bi Shih <[email protected]> | 2021-11-10 07:56:11 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-11-15 08:12:06 +0000 |
| commit | 4eb684bd22a2b43f17dd8c9fcbd60ab612512297 (patch) | |
| tree | 401ac257508ad16f065fb81fb58b3cdef876eaa5 /tools/perf/scripts/python | |
| parent | d9fbdedc56eabb9c5d49b37d8b1f8189fa48a4c8 (diff) | |
media: mtk-vcodec: vdec: remove redundant 'pfb' assignment
A clang-analyzer warning was reported.
>> drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateless.c:133:18:
warning: Value stored to 'pfb' during its initialization is never
read [clang-analyzer-deadcode.DeadStores]
struct vdec_fb *pfb = &framebuf->frame_buffer;
^~~ ~~~~~~~~~~~~~~~~~~~~~~~
Removes the redundant 'pfb' assignment to fix.
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Tzung-Bi Shih <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions