Displaying 2 results from an estimated 2 matches for "e3b30ea9ece5".
2016 Nov 11
2
[PATCH] vhost/vsock: Remove unused but set variable
...en building with 'W=1':
drivers/vhost/vsock.c:198:26: warning: variable ?vq? set but not used
Signed-off-by: Tobias Klauser <tklauser at distanz.ch>
---
drivers/vhost/vsock.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c
index e3b30ea9ece5..9c3c68b9a49e 100644
--- 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 c...
2016 Nov 11
2
[PATCH] vhost/vsock: Remove unused but set variable
...en building with 'W=1':
drivers/vhost/vsock.c:198:26: warning: variable ?vq? set but not used
Signed-off-by: Tobias Klauser <tklauser at distanz.ch>
---
drivers/vhost/vsock.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c
index e3b30ea9ece5..9c3c68b9a49e 100644
--- 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 c...