aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorJacek Anaszewski <[email protected]>2016-09-18 20:24:29 +0200
committerJacek Anaszewski <[email protected]>2016-09-20 10:21:17 +0200
commitfbfa197afddd13f9bdca1c822f5d5730b50639eb (patch)
treeed9e17d37ba0a47a009f9ba71cc701373e68cf0d /tools/perf/scripts/python/call-graph-from-postgresql.py
parent74b69e5246d13840963b7b23e21dbab541cb26d2 (diff)
leds: triggers: Return from led_trigger_set() if there is nothing to do
If led_trigger_set() is called with "trig" argument set to NULL, and there is no trigger to remove then the function should return immediately so as to avoid doing unnecessary allocation and sending uevent. Signed-off-by: Jacek Anaszewski <[email protected]> Reported-by: Daniel Romell <[email protected]> Acked-by Daniel Romell <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions