From 059809e45160fda714edf645902db95e262886e9 Mon Sep 17 00:00:00 2001 From: bellard Date: Wed, 19 Jul 2006 18:06:15 +0000 Subject: usb destroy API change (Lonnie Mendez) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2066 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/usb.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'hw/usb.c') diff --git a/hw/usb.c b/hw/usb.c index a00d945..34aac5f 100644 --- a/hw/usb.c +++ b/hw/usb.c @@ -55,10 +55,7 @@ int usb_generic_handle_packet(USBDevice *s, int pid, s->remote_wakeup = 0; s->addr = 0; s->state = USB_STATE_DEFAULT; - s->handle_reset(s, 0); - break; - case USB_MSG_DESTROY: - s->handle_reset(s, 1); + s->handle_reset(s); break; case USB_TOKEN_SETUP: if (s->state < USB_STATE_DEFAULT || devaddr != s->addr) -- cgit v1.1