usb: xhci: remove unnecessary second abort try
authorLu Baolu <baolu.lu@linux.intel.com>
Mon, 23 Jan 2017 12:19:55 +0000 (14:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Jan 2017 09:57:35 +0000 (10:57 +0100)
commit1cc6d8617b9107f22ab86cec168f7f53f5ef42be
treeecc6fbcd5d123941d41a5a61ef512bafc95cef5a
parent6b02e97491c9b4ef54a3b2295f2962b2ceeb25f8
usb: xhci: remove unnecessary second abort try

The second try was a workaround for (what we thought was) command
ring failing to stop in the first place. But this turns out to be
due to the race that we have fixed(see "xhci: Fix race related to
abort operation"). With that fix, it is time to remove the second
try.

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