OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76f3047
)
usb_register_port(): do not set port->opaque and port->index twice
author
Jes Sorensen
<Jes.Sorensen@redhat.com>
Mon, 4 Jul 2011 15:33:05 +0000
(17:33 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Fri, 8 Jul 2011 09:26:10 +0000
(11:26 +0200)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-bus.c
patch
|
blob
|
history
diff --git
a/hw/usb-bus.c
b/hw/usb-bus.c
index
c8347e9
..
f1dd55e
100644
(file)
--- a/
hw/usb-bus.c
+++ b/
hw/usb-bus.c
@@
-143,8
+143,6
@@
static void usb_fill_port(USBPort *port, void *opaque, int index,
{
port->opaque = opaque;
port->index = index;
- port->opaque = opaque;
- port->index = index;
port->ops = ops;
port->speedmask = speedmask;
usb_port_location(port, NULL, index + 1);