Commit ab630a06 authored by Cole Robinson's avatar Cole Robinson Committed by Michael Roth
Browse files

pvrdma: Fix compilation error



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

The backport of 509f57c9 in 41dd30ff mishandled the conflict

Signed-off-by: default avatarCole Robinson <crobinso@redhat.com>
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 71049d2a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;