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:
Родитель
19188436ea
Коммит
4c23e5085f
|
@ -392,14 +392,12 @@ int usnic_ib_qp_grp_modify(struct usnic_ib_qp_grp *qp_grp,
|
|||
void *data)
|
||||
{
|
||||
int status = 0;
|
||||
int vnic_idx;
|
||||
struct ib_event ib_event;
|
||||
enum ib_qp_state old_state;
|
||||
struct usnic_transport_spec *trans_spec;
|
||||
struct usnic_ib_qp_grp_flow *qp_flow;
|
||||
|
||||
old_state = qp_grp->state;
|
||||
vnic_idx = usnic_vnic_get_index(qp_grp->vf->vnic);
|
||||
trans_spec = (struct usnic_transport_spec *) data;
|
||||
|
||||
spin_lock(&qp_grp->lock);
|
||||
|
|
Загрузка…
Ссылка в новой задаче