diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2012-01-06 15:13:34 +0100 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-02-10 11:12:04 +0100 |
| commit | d1f8b53618b3daa93a113ba02520cd1bd34c254b (patch) | |
| tree | f5a6b7d9b5265374655572b53bd6cb7e59487244 /hw/usb.h | |
| parent | 6af165892cf900291046f1d25f95416f379504c2 (diff) | |
| download | focaccia-qemu-d1f8b53618b3daa93a113ba02520cd1bd34c254b.tar.gz focaccia-qemu-d1f8b53618b3daa93a113ba02520cd1bd34c254b.zip | |
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>
Diffstat (limited to 'hw/usb.h')
| -rw-r--r-- | hw/usb.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/usb.h b/hw/usb.h index 13e7c8ea7f..0bd909818a 100644 --- a/hw/usb.h +++ b/hw/usb.h @@ -40,8 +40,6 @@ #define USB_TOKEN_OUT 0xe1 /* host -> device */ /* specific usb messages, also sent in the 'pid' parameter */ -#define USB_MSG_ATTACH 0x100 -#define USB_MSG_DETACH 0x101 #define USB_MSG_RESET 0x102 #define USB_RET_NODEV (-1) |