pvrdma: Fix compilation error

In function ‘create_qp’:
  hw/rdma/vmw/pvrdma_cmd.c:517:16: error: ‘rc’ undeclared

The backport of 509f57c98 in 41dd30ff6 mishandled the conflict

Signed-off-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
stable-3.1
Cole Robinson 2019-08-06 18:16:19 -04:00 committed by Michael Roth
parent 71049d2a74
commit ab630a065a
1 changed files with 1 additions and 1 deletions

View File

@ -514,7 +514,7 @@ static int create_qp(PVRDMADev *dev, union pvrdma_cmd_req *req,
cmd->recv_cq_handle, rings, &resp->qpn);
if (resp->hdr.err) {
destroy_qp_rings(rings);
return rc;
goto out;
}
resp->max_send_wr = cmd->max_send_wr;