Skip to content
Commit 3cffb26f authored by Colin Ian King's avatar Colin Ian King Committed by Takashi Iwai
Browse files

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: default avatarColin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20220302170728.1094633-1-colin.i.king@gmail.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 76f22f4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment