[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.10.1802011125140.23969@shri-linux.eng.vmware.com>
Date: Thu, 1 Feb 2018 11:28:52 -0800
From: Shrikrishna Khare <skhare@...i-linux.eng.vmware.com>
To: Colin King <colin.king@...onical.com>
CC: Shrikrishna Khare <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'
On Thu, 1 Feb 2018, Colin King wrote:
> 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>
Acked-by: Shrikrishna Khare <skhare@...are.com>
Powered by blists - more mailing lists