|
@@ -414,14 +414,12 @@ static struct tcm_vhost_cmd *vhost_scsi_allocate_cmd(
|
|
|
{
|
|
|
struct tcm_vhost_cmd *tv_cmd;
|
|
|
struct tcm_vhost_nexus *tv_nexus;
|
|
|
- struct se_session *se_sess;
|
|
|
|
|
|
tv_nexus = tv_tpg->tpg_nexus;
|
|
|
if (!tv_nexus) {
|
|
|
pr_err("Unable to locate active struct tcm_vhost_nexus\n");
|
|
|
return ERR_PTR(-EIO);
|
|
|
}
|
|
|
- se_sess = tv_nexus->tvn_se_sess;
|
|
|
|
|
|
tv_cmd = kzalloc(sizeof(struct tcm_vhost_cmd), GFP_ATOMIC);
|
|
|
if (!tv_cmd) {
|