Commit 80c47962 authored by Lu Baolu's avatar Lu Baolu Committed by Greg Kroah-Hartman

usb: xhci: remove unnecessary assignment

Drop an unnecessary assignment in prepare_transfer().
Signed-off-by: default avatarLu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 21939f00
...@@ -2844,8 +2844,6 @@ static int prepare_transfer(struct xhci_hcd *xhci, ...@@ -2844,8 +2844,6 @@ static int prepare_transfer(struct xhci_hcd *xhci,
td->start_seg = ep_ring->enq_seg; td->start_seg = ep_ring->enq_seg;
td->first_trb = ep_ring->enqueue; td->first_trb = ep_ring->enqueue;
urb_priv->td[td_index] = td;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment