diff options
| author | Markus Elfring <[email protected]> | 2016-11-06 17:40:20 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-11-16 15:24:37 -0200 |
| commit | 2eaa68f33b86bf9a6c6cbfaf773d74f1f8bddd4e (patch) | |
| tree | 3135d4ed7b4b905d3d5c65267a1f45512894c9ea /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 64bab1a20c21875dd021e426ec9d8a21dfb4b3ac (diff) | |
[media] DaVinci-VPBE: Check return value of a setup_if_config() call in vpbe_set_output()
* A function was called over the pointer "setup_if_config" in the data
structure "venc_platform_data". But the return value was not used so far.
Thus assign it to the local variable "ret" which will be checked with
the next statement.
Fixes: 9a7f95ad1c946efdd7a7a72df27db738260a0fd8 ("[media] davinci vpbe: add dm365 VPBE display driver changes")
* Pass a value to this function call without storing it in an intermediate
variable before.
* Delete the local variable "if_params" which became unnecessary with
this refactoring.
Acked-by: Lad, Prabhakar <[email protected]>
Signed-off-by: Markus Elfring <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions