aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-08-28 09:08:45 +0200
committerMichael Roth <mdroth@linux.vnet.ibm.com>2012-10-11 21:44:15 -0500
commit55a2f465b9ee17ddaa4a869f6b9733615c20f96d (patch)
treed1c54ba44b734169c343c79141033448a4a79bf5 /hw
parentaa57b628e0db7756746d83c2ca16034341356bc8 (diff)
usb-redir: Get rid of unused async-struct dev member
This is a preparation patch for completely getting rid of the async-packet struct in usb-redir, instead relying on the (new) per ep queues in the qemu usb core. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> (cherry picked from commit 206e7f20fe7b920b362bcc02608680c5d5527f2a) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/usb/redirect.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c
index e4ef372b11..6593d506b3 100644
--- a/hw/usb/redirect.c
+++ b/hw/usb/redirect.c
@@ -96,7 +96,6 @@ struct USBRedirDevice {
};
struct AsyncURB {
- USBRedirDevice *dev;
USBPacket *packet;
uint32_t packet_id;
QTAILQ_ENTRY(AsyncURB)next;
@@ -245,7 +244,6 @@ static int usbredir_write(void *priv, uint8_t *data, int count)
static AsyncURB *async_alloc(USBRedirDevice *dev, USBPacket *p)
{
AsyncURB *aurb = (AsyncURB *) g_malloc0(sizeof(AsyncURB));
- aurb->dev = dev;
aurb->packet = p;
aurb->packet_id = dev->packet_id;
QTAILQ_INSERT_TAIL(&dev->asyncq, aurb, next);