mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-19 20:22:46 +00:00
DM USB: code clean: remove redundent code
When control transfer is detected and an unnecessary reset of struct usb_xfer is conducted. This behavior is not necessary and this patch is used to remove it. Tracked-On: #3628 Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
This commit is contained in:
parent
1352eca224
commit
0110465416
@ -3033,11 +3033,7 @@ errout:
|
|||||||
pci_xhci_assert_interrupt(xdev);
|
pci_xhci_assert_interrupt(xdev);
|
||||||
|
|
||||||
if (do_retry) {
|
if (do_retry) {
|
||||||
if (epid == 1)
|
UPRINTF(LDBG, "[%d]: retry next TRBs\r\n", __LINE__);
|
||||||
memset(xfer, 0, sizeof(*xfer));
|
|
||||||
|
|
||||||
UPRINTF(LDBG, "[%d]: retry:continuing with next TRBs\r\n",
|
|
||||||
__LINE__);
|
|
||||||
goto retry;
|
goto retry;
|
||||||
}
|
}
|
||||||
return err;
|
return err;
|
||||||
|
Loading…
Reference in New Issue
Block a user