liquidio: remove redundant setting of inst_processed to zero
authorColin Ian King <colin.king@canonical.com>
Wed, 1 Nov 2017 09:09:13 +0000 (09:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Nov 2017 06:52:46 +0000 (15:52 +0900)
commita666960d182cfb7074640bdb004633ffb2e58f26
treeca32e3323f662d3d5c3600bb13e14244b48bc41b
parent5618c8e24ad6ab09282f6583a228d80c1fd14c65
liquidio: remove redundant setting of inst_processed to zero

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@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/request_manager.c