Blame 0020-usb_register_port-do-not-set-port-opaque-and-port-in.patch
|
Hans de Goede |
3f1f29 |
From 88a8f55b17e9e6c78ce620ac91012bfd822f8f04 Mon Sep 17 00:00:00 2001
|
|
Hans de Goede |
3f1f29 |
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
|
Hans de Goede |
3f1f29 |
Date: Mon, 4 Jul 2011 17:33:05 +0200
|
|
Hans de Goede |
3f1f29 |
Subject: [PATCH 20/35] usb_register_port(): do not set port->opaque and
|
|
Hans de Goede |
3f1f29 |
port->index twice
|
|
Hans de Goede |
3f1f29 |
|
|
Hans de Goede |
3f1f29 |
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
|
Hans de Goede |
3f1f29 |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
Hans de Goede |
3f1f29 |
---
|
|
Hans de Goede |
3f1f29 |
hw/usb-bus.c | 2 --
|
|
Hans de Goede |
3f1f29 |
1 files changed, 0 insertions(+), 2 deletions(-)
|
|
Hans de Goede |
3f1f29 |
|
|
Hans de Goede |
3f1f29 |
diff --git a/hw/usb-bus.c b/hw/usb-bus.c
|
|
Hans de Goede |
3f1f29 |
index c8347e9..f1dd55e 100644
|
|
Hans de Goede |
3f1f29 |
--- a/hw/usb-bus.c
|
|
Hans de Goede |
3f1f29 |
+++ b/hw/usb-bus.c
|
|
Hans de Goede |
3f1f29 |
@@ -143,8 +143,6 @@ static void usb_fill_port(USBPort *port, void *opaque, int index,
|
|
Hans de Goede |
3f1f29 |
{
|
|
Hans de Goede |
3f1f29 |
port->opaque = opaque;
|
|
Hans de Goede |
3f1f29 |
port->index = index;
|
|
Hans de Goede |
3f1f29 |
- port->opaque = opaque;
|
|
Hans de Goede |
3f1f29 |
- port->index = index;
|
|
Hans de Goede |
3f1f29 |
port->ops = ops;
|
|
Hans de Goede |
3f1f29 |
port->speedmask = speedmask;
|
|
Hans de Goede |
3f1f29 |
usb_port_location(port, NULL, index + 1);
|
|
Hans de Goede |
3f1f29 |
--
|
|
Hans de Goede |
3f1f29 |
1.7.5.1
|
|
Hans de Goede |
3f1f29 |
|