projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c56dc77
)
vmmouse_reset(): remove minimal code duplication
author
Laszlo Ersek
<lersek@redhat.com>
Thu, 13 Dec 2012 14:01:49 +0000
(15:01 +0100)
committer
Stefan Hajnoczi
<stefanha@redhat.com>
Tue, 18 Dec 2012 16:38:44 +0000
(17:38 +0100)
Commit
069ab0eb
added a vmmouse_disable() call to vmmouse_reset().
vmmouse_disable() resets the status already.
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/vmmouse.c
patch
|
blob
|
history
diff --git
a/hw/vmmouse.c
b/hw/vmmouse.c
index 6338efa1c396d1b33c41333f0dba466a0b57ce61..578122c9f585c3f0ba9846f5a0af0847bdb2883c 100644
(file)
--- a/
hw/vmmouse.c
+++ b/
hw/vmmouse.c
@@
-252,7
+252,6
@@
static void vmmouse_reset(DeviceState *d)
{
VMMouseState *s = container_of(d, VMMouseState, dev.qdev);
- s->status = 0xffff;
s->queue_size = VMMOUSE_QUEUE_SIZE;
vmmouse_disable(s);