projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f91c58d
)
vhost-vsock: remove unused vq variable
author
Peng Tao
<bergwolf@gmail.com>
Wed, 7 Dec 2016 09:52:18 +0000
(17:52 +0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 8 Dec 2016 16:26:46 +0000
(11:26 -0500)
Signed-off-by: Peng Tao <bergwolf@gmail.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/vhost/vsock.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/vhost/vsock.c
b/drivers/vhost/vsock.c
index e3b30ea9ece5945c935791798ab27ed8f6c3dd11..9c3c68b9a49e918463eb6def7b0eb622b4527471 100644
(file)
--- a/
drivers/vhost/vsock.c
+++ b/
drivers/vhost/vsock.c
@@
-195,7
+195,6
@@
static int
vhost_transport_send_pkt(struct virtio_vsock_pkt *pkt)
{
struct vhost_vsock *vsock;
- struct vhost_virtqueue *vq;
int len = pkt->len;
/* Find the vhost_vsock according to guest context id */
@@
-205,8
+204,6
@@
vhost_transport_send_pkt(struct virtio_vsock_pkt *pkt)
return -ENODEV;
}
- vq = &vsock->vqs[VSOCK_VQ_RX];
-
if (pkt->reply)
atomic_inc(&vsock->queued_replies);