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

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

 



On Wed, 02 Mar 2022 18:07:28 +0100,
Colin Ian King wrote:
> 
> The variable bytes is being assigned a value that is never read, it
> is being re-assigned inside a following if block. The assignment is
> redundant and can be removed.
> 
> Cleans up clang scan build warning:
> sound/pci/echoaudio/midi.c:211:9: warning: Although the value stored
> to 'bytes' is used in the enclosing expression, the value is never
> actually read from 'bytes' [deadcode.DeadStores]
> 
> Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>

Thanks, applied.


Takashi



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux