diff options
| author | Stefan Binding <[email protected]> | 2022-10-11 14:35:48 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2022-10-12 06:02:46 +0000 |
| commit | 49b0dea1eb5e0fd5e498a2c2ce50d2e036494072 (patch) | |
| tree | de688bf670d81e066f9a6c262b90d96b972e2057 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | ALSA: oss: Fix potential deadlock at unregistration (diff) | |
| download | kernel-49b0dea1eb5e0fd5e498a2c2ce50d2e036494072.tar.gz kernel-49b0dea1eb5e0fd5e498a2c2ce50d2e036494072.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
