From: Thomas Pugliese Date: Fri, 28 Feb 2014 20:31:58 +0000 (-0600) Subject: usb: wusbcore: add a convenience function for completing a transfer segment X-Git-Tag: v3.15-rc1~137^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e500d526f968f184462912334b74b80dc905fca0;p=pandora-kernel.git usb: wusbcore: add a convenience function for completing a transfer segment This patch adds a convenience function for the commonly performed task of marking a transfer segment as done. It combines the 3 steps of setting the segment status, incrementing the segs_done field of the transfer and checking if the completed segment results in the transfer also being done. Signed-off-by: Thomas Pugliese Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed