Hi, The following two patches are tiny simplifications two count_trbs() and count_sg_trbs_needed() which make the code slightly easier to read. Felipe Balbi (2): usb: xhci: ring: simplify count_trbs() a little bit usb: xhci: ring: simplify count_sg_trbs_needed() drivers/usb/host/xhci-ring.c | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) -- 2.8.0.rc2 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html