Re: [PATCH][next] ALSA: echoaudio: remove redundant assignment to variable clock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxx>

Thanks, applied.


Takashi




[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux