diff options
author | Stefan Binding <sbinding@opensource.cirrus.com> | 2022-10-11 15:35:48 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-10-12 08:02:46 +0200 |
commit | 49b0dea1eb5e0fd5e498a2c2ce50d2e036494072 (patch) | |
tree | de688bf670d81e066f9a6c262b90d96b972e2057 /scripts/gdb/linux/vmalloc.py | |
parent | 97d917879d7f92df09c3f21fd54609a8bcd654b2 (diff) |
ALSA: hda: hda_cs_dsp_ctl: Minor clean and redundant code removal
The cs_dsp core will return an error if passed a NULL cs_dsp struct so
there is no need for the hda_cs_dsp_write|read_ctl functions to manually
check that. The cs_dsp core will also check the data is within bounds of
the control so the additional bounds check is redundant too. Simplify
things a bit by removing said code.
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20221011143552.621792-2-sbinding@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions