Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: wavefront: remove redundant assignment to pointer end

Pointer end is being re-assigned the same value as it was initialized
with in the previous statement. The re-assignment is redundant and
can be removed.

Cleans up clang scan-build warning:
sound/isa/wavefront/wavefront_synth.c:582:17: warning: Value stored
to 'end' during its initialization is never read

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20220629102744.139673-1-colin.i.king@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Colin Ian King and committed by
Takashi Iwai
df98a94c 2e57a335

-2
-2
sound/isa/wavefront/wavefront_synth.c
··· 581 581 int i; 582 582 unsigned char *end = src + src_bytes; 583 583 584 - end = src + src_bytes; 585 - 586 584 /* NOTE: src and dst *CAN* point to the same address */ 587 585 588 586 for (i = 0; src != end; i++) {