USB: xhci: Make TRB completion code comparison readable.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Thu, 27 Aug 2009 21:35:53 +0000 (14:35 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Sep 2009 13:46:17 +0000 (06:46 -0700)
commit66d1eebce5cca916e0b08d961690bb01c64751ef
tree333a0b1e99541b9219bf69fe1a1f3a2f6489ea57
parentac9d8fe7c6a8041cca5a0738915d2c4e21381421
USB: xhci: Make TRB completion code comparison readable.

Use trb_comp_code instead of getting the completion code from the transfer
event every time.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/xhci-ring.c