]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: remove never executed if statement
authorLijun Pan <ljp@linux.ibm.com>
Wed, 19 Aug 2020 22:52:25 +0000 (17:52 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Aug 2020 23:11:33 +0000 (16:11 -0700)
commit2a0dbef0b04917ba204021d3d8da280375fa7283
tree4637917078b8317ca361d9222fd6c125a8babbaa
parent6f4229ced7929711e85382569af3e6049d2eced1
ibmvnic: remove never executed if statement

At the beginning of the function, from_passive_init is set false by
"adapter->from_passive_init = false;",
hence the if statement will never run.

Signed-off-by: Lijun Pan <ljp@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c