Re: [PATCH] echoaudio: remove redundant initialization of pointer 'pipe'

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

 



On Mon, 12 Mar 2018 16:01:00 +0100,
Colin King wrote:
> 
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> 
> The pointer 'pipe' is being initialized with a value that is never
> read and it is re-assigned later, hence the initialization is redundant
> and can be removed. Also remove pointer 'runtime' as it is no longer
> required.
> 
> Cleans up clang warning:
> sound/pci/echoaudio/echoaudio.c:740:20: warning: Value stored to 'pipe'
> during its initialization is never read
> 
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied, thanks.


Takashi
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux