diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2024-02-21 11:38:09 +0000 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-02-22 10:04:40 +0100 |
commit | 372709508b847e7df3bbe2c52ab4c783bbce738f (patch) | |
tree | dc82eaaeb8738669ec43066aa4dceb4f98d578fe /tools/perf/scripts/python/check-perf-trace.py | |
parent | 3fdecc7d9aca8a824ce3be9d20f6366d132579fc (diff) |
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>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions