diff --git a/bochs/iodev/usb/usb_xhci.cc b/bochs/iodev/usb/usb_xhci.cc index 0d114a425..e7d3419f4 100644 --- a/bochs/iodev/usb/usb_xhci.cc +++ b/bochs/iodev/usb/usb_xhci.cc @@ -562,7 +562,6 @@ void bx_usb_xhci_c::reset(unsigned type) void bx_usb_xhci_c::reset_hc() { unsigned int i; - char pname[6]; // Command BX_XHCI_THIS hub.op_regs.HcCommand.RsvdP1 = 0; @@ -640,6 +639,7 @@ void bx_usb_xhci_c::reset_hc() for (i=0; iget_param(pname, SIM->get_param(BXPN_USB_XHCI))); } else {