Re: [PATCH] ALSA: emu10k1: remove redundant assignment to tmp

From: Takashi Iwai
Date: Tue Oct 17 2017 - 13:16:34 EST


On Tue, 17 Oct 2017 14:18:36 +0200,
Colin King wrote:
>
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The assignment to variable tmp is redundant as the value is never
> read and a new value is assigned to tmp in the following for-loop,
> so remove the assignment.
> Cleans up clang warning: Value stored to 'tmp' is never read
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied, thanks.


Takashi