net: lio_core: remove redundant assignment to variable tx_done
authorColin Ian King <colin.king@canonical.com>
Fri, 8 May 2020 22:58:10 +0000 (23:58 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 9 May 2020 05:46:51 +0000 (22:46 -0700)
commit5eb2bcf247de02b92749fe6a6b342f6393ca3f86
tree8f238449c18eaf4a9a3ca03ba95a8d6664661352
parent6a9c9548ee204882d196fdbc95f689e1d0fd00aa
net: lio_core: remove redundant assignment to variable tx_done

The variable tx_done is being assigned with a value that is never read
as the function returns a few statements later.  The assignment is
redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cavium/liquidio/lio_core.c