Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362494
b: refs/heads/master
c: f6da51c
h: refs/heads/master
v: v3
  • Loading branch information
Asias He authored and Nicholas Bellinger committed Apr 11, 2013
1 parent b03de72 commit b824867
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dfd5d5692c7ddf27380511b80a3dc590acfc4eee
refs/heads/master: f6da51c3ef07c593a410551af4cad093e2fbe755
9 changes: 0 additions & 9 deletions trunk/drivers/vhost/tcm_vhost.c
Original file line number Diff line number Diff line change
Expand Up @@ -705,15 +705,6 @@ static void vhost_scsi_handle_vq(struct vhost_scsi *vs,

tv_cmd->tvc_vhost = vs;
tv_cmd->tvc_vq = vq;

if (unlikely(vq->iov[out].iov_len !=
sizeof(struct virtio_scsi_cmd_resp))) {
vq_err(vq, "Expecting virtio_scsi_cmd_resp, got %zu"
" bytes, out: %d, in: %d\n",
vq->iov[out].iov_len, out, in);
break;
}

tv_cmd->tvc_resp = vq->iov[out].iov_base;

/*
Expand Down

0 comments on commit b824867

Please sign in to comment.