|
@@ -1950,7 +1950,6 @@ static struct srpt_nexus *srpt_get_nexus(struct srpt_port *sport,
|
|
|
nexus = ERR_PTR(-ENOMEM);
|
|
|
break;
|
|
|
}
|
|
|
- init_rcu_head(&tmp_nexus->rcu);
|
|
|
INIT_LIST_HEAD(&tmp_nexus->ch_list);
|
|
|
memcpy(tmp_nexus->i_port_id, i_port_id, 16);
|
|
|
memcpy(tmp_nexus->t_port_id, t_port_id, 16);
|
|
@@ -2110,7 +2109,6 @@ static int srpt_cm_req_recv(struct ib_cm_id *cm_id,
|
|
|
goto reject;
|
|
|
}
|
|
|
|
|
|
- init_rcu_head(&ch->rcu);
|
|
|
kref_init(&ch->kref);
|
|
|
ch->pkey = be16_to_cpu(pkey);
|
|
|
ch->nexus = nexus;
|