xhci: use the trb_to_noop() helper for command trbs
authorMathias Nyman <mathias.nyman@linux.intel.com>
Mon, 23 Jan 2017 12:20:16 +0000 (14:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Jan 2017 09:59:07 +0000 (10:59 +0100)
commit5278204c98188ac9fd2e75b936eec1015d062a75
treeda57c4aadbaa56d3ccfe92e40a217ea4aa9934cf
parentae1e3f07320884ff25354d8233dc18d5283b0bb8
xhci: use the trb_to_noop() helper for command trbs

Remove duplicate code by using trb_to_noop() when
handling Aborted commads

Based on earlier code by Felipe Balbi <felipe.balbi@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