aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2017-05-18 10:48:03 -0300
committerMauro Carvalho Chehab <[email protected]>2017-05-19 07:12:05 -0300
commit36bcba973ad478042d1ffc6e89afd92e8bd17030 (patch)
tree67aa19d1013df02bd0825e76d3d3c2ea49b9b3ff /tools/perf/scripts/python/event_analyzing_sample.py
parenta16e37726c444cbda91e73ed5f742e717bfe866f (diff)
[media] mtk_vcodec_dec: return error at mtk_vdec_pic_info_update()
Gcc 7.1 complains that: drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c: In function 'mtk_vdec_pic_info_update': drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c:284:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^~~ Indeed, if debug is disabled, "ret" is never used. The best fix for it seems to make the fuction to return an error code. Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions