diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2017-01-23 14:20:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-25 10:57:35 +0100 |
commit | 80c479622fb4564c40813c8f752d3fffd4c5be47 (patch) | |
tree | 0abe3b6bed9eca0e008466685939bd4b1a8e2839 | |
parent | 21939f003ad09355d9c975735750bb22aa37d8de (diff) | |
download | linux-80c479622fb4564c40813c8f752d3fffd4c5be47.tar.bz2 |
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>
-rw-r--r-- | drivers/usb/host/xhci-ring.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; } |