mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 01:54:09 +08:00
Revert "ibmvnic: check failover_pending in login response"
This reverts commit d437f5aa23
.
Code has been duplicated through commit <273c29e944bd> "ibmvnic: check
failover_pending in login response"
Signed-off-by: Desnes A. Nunes do Rosario <desnesn@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
763716a55c
commit
2974b8a691
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user