mirror of https://gitee.com/openkylin/linux.git
usb: xhci: remove unnecessary assignment
Drop an unnecessary assignment in prepare_transfer(). Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
21939f003a
commit
80c479622f
|
@ -2844,8 +2844,6 @@ static int prepare_transfer(struct xhci_hcd *xhci,
|
|||
td->start_seg = ep_ring->enq_seg;
|
||||
td->first_trb = ep_ring->enqueue;
|
||||
|
||||
urb_priv->td[td_index] = td;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue