aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorStefan Binding <[email protected]>2022-10-11 15:35:48 +0100
committerTakashi Iwai <[email protected]>2022-10-12 08:02:46 +0200
commit49b0dea1eb5e0fd5e498a2c2ce50d2e036494072 (patch)
treede688bf670d81e066f9a6c262b90d96b972e2057 /lib/test_fortify/write_overflow-strncpy-src.c
parent97d917879d7f92df09c3f21fd54609a8bcd654b2 (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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions