[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171102.155402.2303424878123786750.davem@davemloft.net>
Date: Thu, 02 Nov 2017 15:54:02 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: derek.chickles@...iumnetworks.com,
satananda.burla@...iumnetworks.com,
felix.manlunas@...iumnetworks.com,
raghu.vatsavayi@...iumnetworks.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] liquidio: remove redundant setting of inst_processed
to zero
From: Colin King <colin.king@...onical.com>
Date: Wed, 1 Nov 2017 09:09:13 +0000
> From: Colin Ian King <colin.king@...onical.com>
>
> The zero value assigned to inst_processed at the end of each
> iteration of the do-while loop is overwritten on the next iteration
> and hence it is a redundant assignment and can be removed. Cleans
> up clang warning:
>
> drivers/net/ethernet/cavium/liquidio/request_manager.c:480:3:
> warning: Value stored to 'inst_processed' is never read
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied.
Powered by blists - more mailing lists