]> 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)
commite1501ecb0eda19c1b3173bb517fd70ca92a01d95
tree4637917078b8317ca361d9222fd6c125a8babbaa
parentf0d506ad72dc8da19c73d486d3ea31e692b9363b
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