Re: [PATCH] liquidio: remove redundant setting of inst_processed to zero

2017-11-01 Thread David Miller
From: Colin King Date: Wed, 1 Nov 2017 09:09:13 + > From: Colin Ian King > > 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 war

[PATCH] liquidio: remove redundant setting of inst_processed to zero

2017-11-01 Thread Colin King
From: Colin Ian King 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: