[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180201.145456.251900509374837057.davem@davemloft.net>
Date: Thu, 01 Feb 2018 14:54:56 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: skhare@...are.com, pv-drivers@...are.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] vmxnet3: remove redundant initialization of pointer
'rq'
From: Colin King <colin.king@...onical.com>
Date: Thu, 1 Feb 2018 17:29:21 +0000
> From: Colin Ian King <colin.king@...onical.com>
>
> Pointer rq is being initialized but this value is never read, it
> is being updated inside a for-loop. Remove the initialization and
> move it into the scope of the for-loop.
>
> Cleans up clang warning:
> drivers/net/vmxnet3/vmxnet3_drv.c:2763:27: warning: Value stored
> to 'rq' during its initialization is never read
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied.
Powered by blists - more mailing lists