]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5e9941ee288e737c7bbb76100a60b590fe1a6f34
tree8f238449c18eaf4a9a3ca03ba95a8d6664661352
parent0bcc5112b1353e100a29ebb049ab0846cd00d3e0
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