linux/sound/pci/echoaudio
Colin Ian King 372709508b ALSA: echoaudio: remove redundant assignment to variable clock
The variable clock is being assigned a value that is never read,
it is being re-assigned a new value in every case in the following
switch statement. The assignment is redundant and can be removed.

Cleans up clang scan build warning:
sound/pci/echoaudio/echoaudio_3g.c:277:2: warning: Value stored
to 'clock' is never read [deadcode.DeadStores]

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20240221113809.3410109-1-colin.i.king@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2024-02-22 10:04:40 +01:00
..
darla20_dsp.c ALSA: echoaudio: Fix assignment in if condition 2021-06-09 17:30:08 +02:00
darla20.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
darla24.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
echo3g.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
echoaudio_3g.c ALSA: echoaudio: remove redundant assignment to variable clock 2024-02-22 10:04:40 +01: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
echoaudio.c ALSA: echoaudio: Simplify with DEFINE_SIMPLE_DEV_PM_OPS() 2024-02-12 11:50:25 +01:00
echoaudio.h ALSA: echoaudio: Simplify with DEFINE_SIMPLE_DEV_PM_OPS() 2024-02-12 11:50:25 +01:00
gina20_dsp.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
gina24_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
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
indigo.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
indigodj.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
indigodjx.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
indigoio.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
indigoiox.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
layla20.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
layla24.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +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
mia_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
midi.c ALSA: echoaudio: remove redundant assignment to variable i 2022-04-05 18:19:29 +02:00
mona_dsp.c ALSA: echoaudio: Fix assignment in if condition 2021-06-09 17:30:08 +02:00
mona.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00