OpenCloudOS-Kernel/sound/pci/echoaudio
Colin Ian King 3cffb26fbb ALSA: echoaudio: remove redundant assignment to variable bytes
The variable bytes is being assigned a value that is never read, it
is being re-assigned inside a following if block. The assignment is
redundant and can be removed.

Cleans up clang scan build warning:
sound/pci/echoaudio/midi.c:211:9: warning: Although the value stored
to 'bytes' is used in the enclosing expression, the value is never
actually read from 'bytes' [deadcode.DeadStores]

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20220302170728.1094633-1-colin.i.king@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2022-03-04 09:50:39 +01:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
darla20.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
darla20_dsp.c ALSA: echoaudio: Fix assignment in if condition 2021-06-09 17:30:08 +02:00
darla24.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
darla24_dsp.c ALSA: echoaudio: Fix assignment in if condition 2021-06-09 17:30:08 +02:00
echo3g.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
echo3g_dsp.c ALSA: echoaudio: Fix assignment in if condition 2021-06-09 17:30:08 +02:00
echoaudio.c ALSA: echoaudio: Allocate resources with device-managed APIs 2021-07-19 16:16:55 +02:00
echoaudio.h ALSA: echoaudio: Allocate resources with device-managed APIs 2021-07-19 16:16:55 +02:00
echoaudio_3g.c ALSA: echoaudio: Proper endian notations 2018-07-27 09:06:09 +02:00
echoaudio_dsp.c ALSA: echoaudio: Fix assignment in if condition 2021-06-09 17:30:08 +02:00
echoaudio_dsp.h ALSA: echoaudio: Proper endian notations 2018-07-27 09:06:09 +02:00
echoaudio_gml.c ALSA: echoaudio: Fix assignment in if condition 2021-06-09 17:30:08 +02:00
gina20.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
gina20_dsp.c ALSA: echoaudio: Fix assignment in if condition 2021-06-09 17:30:08 +02:00
gina24.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
gina24_dsp.c ALSA: echoaudio: Fix assignment in if condition 2021-06-09 17:30:08 +02:00
indigo.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
indigo_dsp.c ALSA: echoaudio: Fix assignment in if condition 2021-06-09 17:30:08 +02:00
indigo_express_dsp.c ALSA: echoaudio: remove all snd_printk 2014-11-03 14:07:25 +01:00
indigodj.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
indigodj_dsp.c ALSA: echoaudio: Fix assignment in if condition 2021-06-09 17:30:08 +02:00
indigodjx.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
indigodjx_dsp.c ALSA: echoaudio: Use standard C definitions of true and false 2015-08-10 14:27:16 +02:00
indigoio.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
indigoio_dsp.c ALSA: echoaudio: Fix assignment in if condition 2021-06-09 17:30:08 +02:00
indigoiox.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
indigoiox_dsp.c ALSA: echoaudio: Use standard C definitions of true and false 2015-08-10 14:27:16 +02:00
layla20.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
layla20_dsp.c ALSA: echoaudio: Fix assignment in if condition 2021-06-09 17:30:08 +02:00
layla24.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
layla24_dsp.c ALSA: echoaudio: Fix assignment in if condition 2021-06-09 17:30:08 +02:00
mia.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
mia_dsp.c ALSA: echoaudio: Fix assignment in if condition 2021-06-09 17:30:08 +02:00
midi.c ALSA: echoaudio: remove redundant assignment to variable bytes 2022-03-04 09:50:39 +01:00
mona.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
mona_dsp.c ALSA: echoaudio: Fix assignment in if condition 2021-06-09 17:30:08 +02:00