lkml.org 
[lkml]   [2018]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] echoaudio: remove redundant initialization of pointer 'pipe'
On Mon, 12 Mar 2018 16:01:00 +0100,
Colin King wrote:
>
> From: Colin Ian King <colin.king@canonical.com>
>
> 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@canonical.com>

Applied, thanks.


Takashi

\
 
 \ /
  Last update: 2018-03-12 16:07    [W:0.202 / U:0.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site