aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorFei Shao <[email protected]>2023-12-21 09:17:44 +0000
committerMauro Carvalho Chehab <[email protected]>2024-04-26 11:54:19 +0100
commit3de2a2184d4407b9199b2d3b69a7958e77e9f6f9 (patch)
tree5c3e5f5ac03b12cc10bb103369e887376d1e5e15 /tools/perf/scripts/python/bin/stackcollapse-report
parentc742a195003568bf9e13950ecd1a0c676c604c5c (diff)
media: mediatek: vcodec: Drop unnecessary variable
In mtk_vcodec_mem_alloc() and mtk_vcodec_mem_free(), the value of mem->size is not expected to change before and when using the DMA APIs and debug print, so there's no point in keeping local copies of it. Drop the local variable "size" in the mentioned functions, and update printk format identifiers accordingly. This makes the code slightly more visually consistent, and retrieve a small amount of memory that is used for no real purpose. Signed-off-by: Fei Shao <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Signed-off-by: Andrzej Pietrasiewicz <[email protected]> Signed-off-by: Sebastian Fricke <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions