diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2020-09-01 15:43:45 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-09-07 16:01:57 +0200 |
| commit | 62c6b4c9e3c8e30ba4ad6c85732f00a26c5e4394 (patch) | |
| tree | 5128e0007e83ddd997fe3c47b34d57de9967e803 /tools/perf/scripts/python/flamegraph.py | |
| parent | faf21f2867a51866599fa75a9be66dd12bc8db13 (diff) | |
media: vivid: move the devnode creation logic to a separate function
In order to reduce even further the size of the big
vivid_create_instance() function, let's place the part of the
logic which creates the device nodes into a separate function.
With this and the past patches, those warnings finally
vanishes:
drivers/media/test-drivers/vivid/vivid-core.c: drivers/media/test-drivers/vivid/vivid-core.c:1189 vivid_create_instance() parse error: turning off implications after 60 seconds
drivers/media/test-drivers/vivid/vivid-core.c: drivers/media/test-drivers/vivid/vivid-core.c:1257 vivid_create_instance() parse error: __split_smt: function too hairy. Giving up after 303 seconds
The init code also seems more organized after breaking the long
function into a smaller set.
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions