]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: wavefront: remove redundant assignment to pointer end
authorColin Ian King <colin.i.king@gmail.com>
Wed, 29 Jun 2022 10:27:43 +0000 (11:27 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 4 Jul 2022 12:29:27 +0000 (14:29 +0200)
commit425cdaeb3a53fa6882e87977917f1d98d4e24f2c
tree99ae6a7b462139678b3c33519a37077ff1b5154d
parentfdcfc63b059982782f6b33b52b6053649160a825
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>
sound/isa/wavefront/wavefront_synth.c