[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87sf1k6f81.wl-tiwai@suse.de>
Date: Thu, 22 Feb 2024 10:05:50 +0100
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>,
linux-sound@...r.kernel.org,
kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] ALSA: echoaudio: remove redundant assignment to variable clock
On Wed, 21 Feb 2024 12:38:09 +0100,
Colin Ian King wrote:
>
> The variable clock is being assigned a value that is never read,
> it is being re-assigned a new value in every case in the following
> switch statement. The assignment is redundant and can be removed.
>
> Cleans up clang scan build warning:
> sound/pci/echoaudio/echoaudio_3g.c:277:2: warning: Value stored
> to 'clock' is never read [deadcode.DeadStores]
>
> Signed-off-by: Colin Ian King <colin.i.king@...il.com>
Thanks, applied.
Takashi
Powered by blists - more mailing lists