aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-02-07 19:19:06 +0000
committerTakashi Iwai <[email protected]>2023-02-08 12:39:12 +0000
commit73c5685c431a090152cbc9e45857feb207f0032f (patch)
treeffd36921e758c12e44a2b34514120e99189087aa /tools/perf/scripts/python/libxed.py
parentALSA: core: Make snd_card_disconnect() return void (diff)
downloadkernel-73c5685c431a090152cbc9e45857feb207f0032f.tar.gz
kernel-73c5685c431a090152cbc9e45857feb207f0032f.zip
ALSA: core: Make snd_card_free_when_closed() return void
All callers from other files ignore the return value of this function. And it can only ever return a non-zero value if the parameter card is NULL. This cannot happen in snd_card_free() as card was dereferenced just before snd_card_free_when_closed() is called. So the error handling can be dropped there. Signed-off-by: Uwe Kleine-König <[email protected]> Reviewed-by: Jaroslav Kysela <[email protected]> Reviewed-by: Takashi Sakamoto <[email protected]> Acked-by: Geoff Levand <[email protected]> Acked-by: Thierry Reding <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions