Re: [PATCH 4/4] media: mediatek: vcodec: Drop VA check against mtk_vcodec_mem_free()
From: AngeloGioacchino Del Regno
Date: Wed Dec 06 2023 - 05:19:40 EST
Il 13/11/23 13:26, Fei Shao ha scritto:
Now mtk_vcodec_mem_free() handles the VA-is-NULL case without generating
excess error log, so we don't need to check that every time before using
it in the driver.
Remove all the unnecessary if branches against mtk_vcodec_mem_free().
Signed-off-by: Fei Shao <fshao@xxxxxxxxxxxx>
For the reasons explained in patch [3/4], I'd prefer to keep those checks.
Cheers,
Angelo