diff options
author | Laszlo Ersek | 2012-12-13 15:01:49 +0100 |
---|---|---|
committer | Stefan Hajnoczi | 2012-12-18 17:38:44 +0100 |
commit | 5a6c7644b215060a43d94709307d86bc50e1b4b9 (patch) | |
tree | 507bcaf3a08eefc5479db753e8d7170ff7bf8704 | |
parent | linux-user/syscall.c: remove wrong forward decl of setgroups() (diff) | |
download | qemu-5a6c7644b215060a43d94709307d86bc50e1b4b9.tar.gz qemu-5a6c7644b215060a43d94709307d86bc50e1b4b9.tar.xz qemu-5a6c7644b215060a43d94709307d86bc50e1b4b9.zip |
vmmouse_reset(): remove minimal code duplication
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>
-rw-r--r-- | hw/vmmouse.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/vmmouse.c b/hw/vmmouse.c index 6338efa1c3..578122c9f5 100644 --- 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); |