diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-09-17 09:56:22 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-10-04 14:27:16 -0400 |
commit | cd41986e76a2f227f79a54baf880e1cc4aac98cd (patch) | |
tree | 34b4214a2c17d49b270bd5e97f598f71ff1c87d2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1611c686c1245408c3ddb451b2a5fff1dc088d6e (diff) |
media: VPU: mediatek: don't pass an unused parameter
The load_requested_vpu() function returns a freed vpu_fw pointer. It's
not used so it doesn't cause any problems, but Smatch complains about
it:
drivers/media/platform/mtk-vpu/mtk_vpu.c:578 vpu_load_firmware()
warn: passing freed memory 'vpu_fw'
We can clean up the code a bit and silence the static checker warning
by not passing the parameter at all.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions