diff options
| author | Markus Elfring <[email protected]> | 2016-10-12 04:54:26 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-11-16 12:40:32 -0200 |
| commit | 837fdcf05af645c3961cae69fd188a0fee1add52 (patch) | |
| tree | 320864ef6b39002501b9b0792bea2bc31635fc61 /tools/perf/scripts/python | |
| parent | ca7948aa85290f55b8929a8c028352913167bca3 (diff) | |
[media] DaVinci-VPBE: Reduce the scope for a variable in vpbe_set_default_output()
* Move the definition for the variable "ret" into an if branch
so that an extra initialisation can be avoided at the beginning
by this refactoring.
* Return a success code as a constant at the end.
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')
0 files changed, 0 insertions, 0 deletions