diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-08-15 16:30:39 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-08-22 10:35:59 +0200 |
commit | 68e9fde245591d18200f8a9054cac22339437adb (patch) | |
tree | a7396924a68ee140fd9ed417cb2123881e62e168 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 57f8770620e9b51c61089751f0b5ad3dbe376ff2 (diff) |
ALSA: usb-audio: Simplify parse_audio_unit()
Minor code refactoring by combining the UAC version and the type in
the switch-case flow, so that we reduce the indentation and
redundancy. One good bonus is that the duplicated definition of the
same type value (e.g. UAC2_EFFECT_UNIT) can be handled more cleanly.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions