Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Adding breaktrace & disabling timer migration"
[kvmfornfv.git]
/
qemu
/
hw
/
usb
/
hcd-ehci-pci.c
diff --git
a/qemu/hw/usb/hcd-ehci-pci.c
b/qemu/hw/usb/hcd-ehci-pci.c
index
7afa5f9
..
5657705
100644
(file)
--- a/
qemu/hw/usb/hcd-ehci-pci.c
+++ b/
qemu/hw/usb/hcd-ehci-pci.c
@@
-15,6
+15,7
@@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+#include "qemu/osdep.h"
#include "hw/usb/hcd-ehci.h"
#include "qemu/range.h"
#include "hw/usb/hcd-ehci.h"
#include "qemu/range.h"
@@
-95,10
+96,8
@@
static void usb_ehci_pci_exit(PCIDevice *dev)
usb_ehci_unrealize(s, DEVICE(dev), NULL);
usb_ehci_unrealize(s, DEVICE(dev), NULL);
- if (s->irq) {
- g_free(s->irq);
- s->irq = NULL;
- }
+ g_free(s->irq);
+ s->irq = NULL;
}
static void usb_ehci_pci_reset(DeviceState *dev)
}
static void usb_ehci_pci_reset(DeviceState *dev)