ethernet: Remove redundant statement
authorluo penghao <cgel.zte@gmail.com>
Mon, 18 Oct 2021 08:55:13 +0000 (08:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Oct 2021 12:10:44 +0000 (13:10 +0100)
commit3c71e0c9ab4f428f4daeb451f6f7008a979f154a
tree15494e160a08e156a4b19cfd5b7ddfed01dc384c
parent92817dad7dcb781561dcebbf1b19a177774d84c2
ethernet: Remove redundant statement

The variable will be assigned again later in the if condition,
there is no meaning there.

drivers/net/ethernet/broadcom/tg3.c:5750:2 warning:

Value stored to 'current_link_up' is never read.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: luo penghao <luo.penghao@zte.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c