From: Lu Baolu Date: Mon, 23 Jan 2017 12:20:00 +0000 (+0200) Subject: usb: xhci: remove unnecessary assignment X-Git-Tag: v4.11-rc1~119^2~70 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=80c479622fb4564c40813c8f752d3fffd4c5be47;p=karo-tx-linux.git usb: xhci: remove unnecessary assignment Drop an unnecessary assignment in prepare_transfer(). Signed-off-by: Lu Baolu Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index bcc08949560a..61b5fea4cdb3 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c @@ -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; }