[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <s5hh75zm6zo.wl-tiwai@suse.de>
Date: Mon, 09 May 2022 10:43:07 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Colin Ian King <colin.i.king@...il.com>
Cc: Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
alsa-devel@...a-project.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ALSA: hdsp: remove redundant assignment to pointer kctl
On Sun, 08 May 2022 23:28:19 +0200,
Colin Ian King wrote:
>
> 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@...il.com>
Thanks, applied.
Takashi
Powered by blists - more mailing lists