usb: kill USB_MSG_{ATTACH,DETACH}
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 6 Jan 2012 14:13:34 +0000 (15:13 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 10 Feb 2012 10:12:04 +0000 (11:12 +0100)
commitd1f8b53618b3daa93a113ba02520cd1bd34c254b
treef5a6b7d9b5265374655572b53bd6cb7e59487244
parent6af165892cf900291046f1d25f95416f379504c2
usb: kill USB_MSG_{ATTACH,DETACH}

The USB subsystem pipes internal attach/detach notifications through
usb_handle_packet() with a special magic PID.  This indirection is a
pretty pointless excercise as it ends up being handled by
usb_generic_handle_packet anyway.  Remove it.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb.c
hw/usb.h