xhci: add trb_is_noop() helper function
authorMathias Nyman <mathias.nyman@linux.intel.com>
Fri, 11 Nov 2016 13:13:14 +0000 (15:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Nov 2016 09:18:21 +0000 (10:18 +0100)
commit0ce5749959c627442b062809e91f0320d92517b2
tree3cfa791f76d9e9684169905011106e025c9c8463
parent3495e451d1375f74bd6f9ee851c740e2c96118ae
xhci: add trb_is_noop() helper function

replace the complex check for noop with a simple helper
Improve code readability

No functional changes

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