mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
vhost-vsock: remove unused vq variable
Signed-off-by: Peng Tao <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
f91c58d68b
commit
1440a3a12b
1 changed files with 0 additions and 3 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue