xhci: rename and simplify last_trb_on_last_seg() helper
authorMathias Nyman <mathias.nyman@linux.intel.com>
Tue, 21 Jun 2016 07:58:07 +0000 (10:58 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 26 Jun 2016 18:43:39 +0000 (11:43 -0700)
commitd0c77d84b497965dcdedb2a755cc5e45b9320aea
tree5503f17bc8a8b608a01f5dc61b4ad4f5cd812abc
parent549310ab5d72158b84c80995894eb1ade5453ef1
xhci: rename and simplify last_trb_on_last_seg() helper

It's only used with rings that have link trbs

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