aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2021-06-08 16:04:36 +0200
committerTakashi Iwai <[email protected]>2021-06-09 17:29:37 +0200
commit36e7b12b219dc30a4db046756d81745bc9d69167 (patch)
tree34988389b7d5563a5fa697754d18e9c43e231410 /tools/perf/scripts/python/flamegraph.py
parent10dc8ad5ffe8350d71e244b27900a1939d255fe7 (diff)
ALSA: sb: Minor coding style fixes
The handling of snd_ctl_new1() and snd_ctl_add() can be sometimes tricky, as snd_ctl_add() automatically removes the passed object at its error path. The recent fix addressed an overlooked issue that is relevant with that in SB driver code, and it can be a bit more simplified by assigning to a temporary variable, i.e. storing to the struct field only after the creation succeeds. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions