aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/Context.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas <[email protected]>2015-12-11 15:16:33 -0200
committerMauro Carvalho Chehab <[email protected]>2016-01-11 12:19:09 -0200
commit1488eee3b46736eefd9aec1e9d944f7a828773b9 (patch)
treefcc1b29362007e97c8e92ef6c74fce1205a3eb45 /tools/perf/scripts/python/Perf-Trace-Util/Context.c
parentd8a2cf41cc1c1b4af35eaf0414f83653b7b17c8b (diff)
[media] v4l: vsp1: use else if instead of continue when creating links
The for loop in the vsp1_create_entities() function that create the links, checks the entity type and call the proper link creation function but then it uses continue to force the next iteration of the loop to take place and skipping code in between that creates links for different entities types. It is more readable and easier to understand if the if else constructs is used instead of the continue statement. Suggested-by: Laurent Pinchart <[email protected]> Signed-off-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions