]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
usb: xhci: remove unnecessary assignment
authorLu Baolu <baolu.lu@linux.intel.com>
Mon, 23 Jan 2017 12:20:00 +0000 (14:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Jan 2017 09:57:35 +0000 (10:57 +0100)
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>
drivers/usb/host/xhci-ring.c

index bcc08949560a3b18d87725e300e58a742c8ac9a0..61b5fea4cdb3d56afc0940131a07f1874c96e205 100644 (file)
@@ -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;
 }