diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2022-06-30 13:14:59 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-30 15:40:30 +0300 |
commit | e8010efc7b83038d1c18abe1b8d171e3c7d4ed92 (patch) | |
tree | 331b8240692c7a28464caf71f29f4eb4c81b06ba /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 871325d800ed532ba5874257f04bb4ae75125bc4 (diff) | |
download | linux-e8010efc7b83038d1c18abe1b8d171e3c7d4ed92.tar.xz |
ASoC: wm_adsp: 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 wm_adsp_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: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220630101459.3442327-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions