ALSA: hdsp: remove redundant assignment to pointer kctl
authorColin Ian King <colin.i.king@gmail.com>
Sun, 8 May 2022 21:28:19 +0000 (22:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 9 May 2022 08:42:28 +0000 (10:42 +0200)
commitd06130dc3e7aafc6a194f16ddc6011072e87cc4c
tree7069a7936025d7f716971ae84dd7d27e2aa350e2
parentca348e7fe1ab9192ad7d9ff029a82a1594e0e289
ALSA: hdsp: remove redundant assignment to pointer kctl

Pointer kctl is being assigned a value that is not being read, buf
is being re-assigned later. The assignment is redundant and can be
removed.

Cleans up clang scan build warning:
sound/pci/rme9652/hdsp.c:3317:28: warning: Although the value stored
to 'kctl' is used in the enclosing expression, the value is never
actually read from 'kctl' [deadcode.DeadStores]

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