RDMA/usnic: Remove a set-but-not-used variable
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Christian Benvenuti <benve@cisco.com> Cc: Dave Goodell <dgoodell@cisco.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:

committed by
Doug Ledford

parent
19188436ea
commit
4c23e5085f
@@ -392,14 +392,12 @@ int usnic_ib_qp_grp_modify(struct usnic_ib_qp_grp *qp_grp,
|
|||||||
void *data)
|
void *data)
|
||||||
{
|
{
|
||||||
int status = 0;
|
int status = 0;
|
||||||
int vnic_idx;
|
|
||||||
struct ib_event ib_event;
|
struct ib_event ib_event;
|
||||||
enum ib_qp_state old_state;
|
enum ib_qp_state old_state;
|
||||||
struct usnic_transport_spec *trans_spec;
|
struct usnic_transport_spec *trans_spec;
|
||||||
struct usnic_ib_qp_grp_flow *qp_flow;
|
struct usnic_ib_qp_grp_flow *qp_flow;
|
||||||
|
|
||||||
old_state = qp_grp->state;
|
old_state = qp_grp->state;
|
||||||
vnic_idx = usnic_vnic_get_index(qp_grp->vf->vnic);
|
|
||||||
trans_spec = (struct usnic_transport_spec *) data;
|
trans_spec = (struct usnic_transport_spec *) data;
|
||||||
|
|
||||||
spin_lock(&qp_grp->lock);
|
spin_lock(&qp_grp->lock);
|
||||||
|
Reference in New Issue
Block a user