From: Wei Qi
This patchset cleanups some unused/unnecessary variables assignment.
Wei Qi (3):
vhost: simple clean up
vnc: simple clean up
esp-pci: simple clean up
hw/scsi/esp-pci.c | 1 -
hw/virtio/vhost.c | 1 -
ui/vnc-enc-zrle.c | 1 -
3 files changed, 3 deletions(-)
--
1.8.3.1
From: Wei Qi
It is unnecessary to assign variable 'size' here, because 'size' unused after
assignment.
Signed-off-by: Wei Qi
---
hw/scsi/esp-pci.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/hw/scsi/esp-pci.c b/hw/scsi/esp-pci.c
index e295d88..1f5980e 100644
--- a/hw/scsi/esp-pci.c
+++
From: Wei Qi
It is unnecessary to assign 'hdev->nvqs' to 'i', because 'hdev->nvqs' unused
after assignment, so remove it.
Signed-off-by: Wei Qi
---
hw/virtio/vhost.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c
index 613494d..5c57983 100644
--- a/hw
From: Wei Qi
It is unnecessary to assign 'packed_bytes' to 'estimated_bytes', because
'estimated_bytes' unused after assignment.
Signed-off-by: Wei Qi
---
ui/vnc-enc-zrle.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/ui/vnc-enc-zrle.c b/ui/vnc-enc-zrle.c
index 5489870..fd63d4f 100644
-