aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-09-17 09:56:22 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-10-04 14:27:16 -0400
commitcd41986e76a2f227f79a54baf880e1cc4aac98cd (patch)
tree34b4214a2c17d49b270bd5e97f598f71ff1c87d2 /scripts
parentmedia: vidioc-dqevent.rst: clarify V4L2_EVENT_SRC_CH_RESOLUTION (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 'scripts')
0 files changed, 0 insertions, 0 deletions