aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/platform/stm32/stm32-dcmi.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2018-09-17 09:56:22 -0400
committerMauro Carvalho Chehab <[email protected]>2018-10-04 14:27:16 -0400
commitcd41986e76a2f227f79a54baf880e1cc4aac98cd (patch)
tree34b4214a2c17d49b270bd5e97f598f71ff1c87d2 /drivers/media/platform/stm32/stm32-dcmi.c
parent1611c686c1245408c3ddb451b2a5fff1dc088d6e (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 <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/platform/stm32/stm32-dcmi.c')
0 files changed, 0 insertions, 0 deletions