vmmouse_reset(): remove minimal code duplication
PATCH 1/1 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 <[email protected]>
--- hw/vmmouse.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
hw/vmmouse.c +0 -1
@@ -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);
Signature · 1 line
1.7.1
Stefan Hajnoczi
AppliedQuoted 7 lines · Laszlo Ersek
Commit
069ab0ebadded avmmouse_disable()call tovmmouse_reset().vmmouse_disable()resets the status already.Signed-off-by Laszlo Ersek <[email protected]>--- hw/vmmouse.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan