[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210925151418.1614874-1-desnesn@linux.ibm.com>
Date: Sat, 25 Sep 2021 12:14:18 -0300
From: "Desnes A. Nunes do Rosario" <desnesn@...ux.ibm.com>
To: netdev@...r.kernel.org
Cc: linuxppc-dev@...ts.ozlabs.org, sukadev@...ux.ibm.com,
drt@...ux.ibm.com, tlfalcon@...ux.ibm.com,
"Desnes A. Nunes do Rosario" <desnesn@...ux.ibm.com>
Subject: [PATCH] Revert "ibmvnic: check failover_pending in login response"
This reverts commit d437f5aa23aa2b7bd07cd44b839d7546cc17166f.
Code has been duplicated through commit <273c29e944bd> "ibmvnic: check
failover_pending in login response"
Signed-off-by: Desnes A. Nunes do Rosario <desnesn@...ux.ibm.com>
---
drivers/net/ethernet/ibm/ibmvnic.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c
index a4579b340120..6aa6ff89a765 100644
--- a/drivers/net/ethernet/ibm/ibmvnic.c
+++ b/drivers/net/ethernet/ibm/ibmvnic.c
@@ -4708,14 +4708,6 @@ static int handle_login_rsp(union ibmvnic_crq *login_rsp_crq,
return 0;
}
- if (adapter->failover_pending) {
- adapter->init_done_rc = -EAGAIN;
- netdev_dbg(netdev, "Failover pending, ignoring login response\n");
- complete(&adapter->init_done);
- /* login response buffer will be released on reset */
- return 0;
- }
-
netdev->mtu = adapter->req_mtu - ETH_HLEN;
netdev_dbg(adapter->netdev, "Login Response Buffer:\n");
--
2.31.1
Powered by blists - more mailing lists