diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-01-06 15:31:38 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-02-10 11:12:04 +0100 |
commit | 70fc20d4dc7c8990a508411db1ee441ae9ee5034 (patch) | |
tree | 40efafc2dd4a53eac7cde4cf39f85d2bced53984 /hw/usb.c | |
parent | d28f4e2d86317f7ef7398651e8a1d493e4bf8c88 (diff) |
usb: kill usb_send_msg
No users left. Zap it.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb.c')
-rw-r--r-- | hw/usb.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -295,19 +295,6 @@ int set_usb_string(uint8_t *buf, const char *str) return q - buf; } -/* Send an internal message to a USB device. */ -void usb_send_msg(USBDevice *dev, int msg) -{ - USBPacket p; - int ret; - - memset(&p, 0, sizeof(p)); - p.pid = msg; - ret = usb_handle_packet(dev, &p); - /* This _must_ be synchronous */ - assert(ret != USB_RET_ASYNC); -} - /* Hand over a packet to a device for processing. Return value USB_RET_ASYNC indicates the processing isn't finished yet, the driver will call usb_packet_complete() when done processing it. */ |