diff options
author | 2024-04-06 08:48:30 +0200 | |
---|---|---|
committer | 2024-04-07 08:35:53 +0200 | |
commit | 4c4cbe66828f185903d2127aed6ac9b7302e9d3a (patch) | |
tree | 58b084e85fc76e9dffb643d143ff72062c6770a4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ALSA: emu10k1: shrink blank space in front of wavetable samples (diff) | |
download | wireguard-linux-4c4cbe66828f185903d2127aed6ac9b7302e9d3a.tar.xz wireguard-linux-4c4cbe66828f185903d2127aed6ac9b7302e9d3a.zip |
ALSA: emux: simplify snd_sf_list.callback handling
Both drivers provide both sample_new and sample_free, and it makes no
sense to pretend that they could not. In fact, load_data() would already
crash if sample_new was null. So remove the remaining null checks.
Contrary to that, the emu10k1 driver actually has a null sample_reset,
though I'm not convinced that this inconsistency is justified.
Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Message-ID: <20240406064830.1029573-18-oswald.buddenhagen@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions