Message ID | 20210925151418.1614874-1-desnesn@linux.ibm.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | Revert "ibmvnic: check failover_pending in login response" | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/github-powerpc_sparse | success | Successfully ran 4 jobs. |
snowpatch_ozlabs/github-powerpc_clang | success | Successfully ran 7 jobs. |
snowpatch_ozlabs/github-powerpc_kernel_qemu | success | Successfully ran 24 jobs. |
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Sat, 25 Sep 2021 12:14:18 -0300 you wrote: > 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@linux.ibm.com> > > [...] Here is the summary with links: - Revert "ibmvnic: check failover_pending in login response" https://git.kernel.org/netdev/net/c/2974b8a691a9 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
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");
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@linux.ibm.com> --- drivers/net/ethernet/ibm/ibmvnic.c | 8 -------- 1 file changed, 8 deletions(-)